Purchase OIOpublisher now for just $47.

Take control of your ad space.

Click here to purchase

  1.  

    I am using this code <?php
    if(function_exists('oiopub_banner_output')) {
    oiopub_banner_output('', 1);
    }
    ?>

    to display ads on individual post pages but the ads are centered when I actually want it to be left aligned. What do I need to add to the code please?

    An example of how it displays is here

    thanks

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorSimon
    • CommentTimeSep 2nd 2008
     
    Project Admin

    Hmmm...are you using an older version at the moment? Earlier version didn't use an external css file to keep all the styling info in, and I can't see one on the page you linked to.

    The latest stable version uses the css file images/output1.css. You'd just have to remove margin:auto; from the .oio-zone-position entry in that file to stop ads being centered.

    For the older versions, you'd have to edit the include.output.php file. If you look for position:relative; margin:auto; within that file and again remove margin:auto; then I think centering will be removed.

    Need help?  Quick start guide | Troubleshooting | All help topics