WordPress.org

Ready to get started?Download WordPress

Forums

I added ADSENSE and now all of my content is CENTERED (6 posts)

  1. dianehaller
    Member
    Posted 1 year ago #

    I added ADSENSE and worked to center it and now all of my content is centered...please help :). My site is http://www.mylifeasrobinswife.com

    Thank you!

  2. dianehaller
    Member
    Posted 1 year ago #

    It happens when I try to center the ad. I removed the ad centering and now the site is fine. How do I center my ad so that it doesn't center everything? :)

  3. Use a <center> tag and the adsense code and then close the center tag, like this: </center>

  4. dianehaller
    Member
    Posted 1 year ago #

    When I do that, it also centers everything else on my blog. Any thoughts? :)

  5. dianehaller
    Member
    Posted 1 year ago #

    Thank you for responding by the way. I really appreciate it. :)

  6. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    start by moving your adsense code to after this line:
    <div id="wrapper" class="hfeed">

    (where it is now, is causing invalid html output - check with http://validator.w3.org/ )

    there is no reason to assume that adding the <center>....</center> tags should cause any centered content after the ads;

    possibly try to clear the browser cache after you made the changes - press 'ctrl f5' or 'reload' ....

Topic Closed

This topic has been closed to new replies.

About this Topic