• Resolved jmgrn

    (@sixguinness)


    When I click on any of my posts titles under the heading ‘CATEGORY‘, which is on the far right-hand side of my page, each posts shows the content shifted to the bottom of the page and for some reason shows two separate Adense ad formats one on top of the other.

    When I click on any of the tag names under the heading ‘SITE TAGS‘ or ‘Next Page‘ at the very bottom of the content, each page shows correctly with only one ad, which is what I want. Has anyone run across this problem and if so how did you fix it? Thanks.

    URL: diabeticssupportsocks.com

Viewing 2 replies - 1 through 2 (of 2 total)
  • Look in your browser source code for a category page and you’ll see the code for two ads on top of each other, one in a table, one in a div. Edit whatever theme file (category.php?) you added the ad code to. Also, remove or fix the table code around one of the ads since the table code is full of bad fancy quotes (code killers). Use a plain text editor to copy/paste code to avoid fancy quotes.

    Thread Starter jmgrn

    (@sixguinness)

    Thanks for your response.

    I had no idea where the code was placed originally, as I used the ‘All in one Adsense and YPn plugin’. So, I deactivated that and started from scratch by placing the Adsense code into my theme’s Main Index Template (index.php) and single post (single.php) just above this line: <?php if (have_posts()) : while (have_posts()) : the_post(); ?>.

    I now have the ads, however, the content is directly below the ads as you can see here: diabeticssupportsocks.com. I would prefer that they be just to the left.

    I don’t see the table code around the ad to make that adjustment.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Content shifts to bottom’ is closed to new replies.