Purchase OIOpublisher now for just $47.

Take control of your ad space.

Click here to purchase

    • CommentAuthorRalph23
    • CommentTimeNov 16th 2008
     

    After upgrading to 2.07, alot of things were changed in the ouput of banner/text ads, and I had to do some customizations to get things back to normal. Once thing I can't seem to fix is how the text ads now have:
    "text-align: center;" applied to them in the html.

    Where do I go to get rid of this?
    Thanks

    • CommentAuthorSimon
    • CommentTimeNov 16th 2008 edited
     
    Project Admin

    You're sure it's a text ad zone that has text-align:center in it? The only place that should occur in output.php is the banner ad zone function.

    EDIT: if you did mean a banner zone, I checked the code and re-adjusted it to use 'oio-center' css class to center text in output.css. I've also made sure it only is used in an "empty" ad slot, for the advertise here text.

    Btw, once it is all sorted, could you let me know what you changed styling wise? I altered things a bit for 2.07 because quite a few people wanted the <li> format for links, but I want it to be as "out of the box" ready as possible.

    • CommentAuthorRalph23
    • CommentTimeNov 16th 2008
     

    Hmmm, looking at my dashboard now, it says I have V 2.08. Not sure if that has anything to do with anything, just thought that was odd.

    Anyway, the site is http://ForTheLose.org. Check the bottom right sidebar. That is where the links are.

    • CommentAuthorRalph23
    • CommentTimeNov 16th 2008
     

    Actually, I must've been reading it wrong. I think the text-align: center is applied to the banners.

    Anyway, I went into output.css and I modified it to this:
    .oio-link-list li {
    list-style-type: none;
    padding: 0px;
    margin: 5px 0px 5px 0px;
    text-align: left;
    }

    Though everything is still centered.

    • CommentAuthorSimon
    • CommentTimeNov 16th 2008 edited
     
    Project Admin

    2.08 is actually correct, but I haven't officially announced it.

    I think you must be referring to the banner zone, as the link zone doesn't have text-align:center on it. The banner zone does though.

    -----

    The text link zone doesn't have any styling applied to it by OIO (when it is displayed as a list). The only thing I can see that is different is the lack of a surrounding div. If you look at the archives list for example, it has <div class="s-small-box"></div> surrounding it.

    Are you adding the OIO output manually in your templates, or via a widget?

    • CommentAuthorRalph23
    • CommentTimeNov 16th 2008
     

    Wow, thats pretty bad. I spend so much time on my theme here, yet I couldn't spot that error. Thanks alot. Sorry about this that fixed it. For some reason the functions.php wasn't applying the correct styling to that widget (Archives was another widget, and that has the correct styling).