Support » Fixing WordPress » IFrame increased my page width

  • dave925

    (@dave925)


    I added my Amazon bookstore into the main, central column using an IFrame. Everything appears OK, except it’s increased the width of my overall blog by the width of my right sidebar. I’m not sure where to go to fix this and remove the extra spacing that’s been added. I’m using the andreas09 template. Any tips would be appreciated.

    http://www.gobackpacking.com/Blog/travel-books/

    I’ve already done some searching on the topic, and didn’t see someone with this particular issue (at least written in a way I could understand). Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • dave925

    (@dave925)

    I’ve figured out the IFrame is not the problem, but rather some text ads I have running atop the main index page (and other pages). It seems as though it’s pushing to the right a sliver off the right sidebar, and as a result, extending the page width (and it’s associated dark grey bg color).

    Does anyone know how I can correct this formatting issue??

    dave925

    (@dave925)

    I fixed it! If anyone uses Text Link Ads, then the fix to the problem I wrote about above is to adjust the width in the style tag of the code you get from TLA. I dropped it from 100% to 65% and the problem was solved.

    echo “\n<ul style=\”list-style: none; margin: 0; border: 0px; border-spacing: 0px; background-color: #F0F0F0; padding: 0; width: 65%; overflow: hidden;\”>\n”;

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘IFrame increased my page width’ is closed to new replies.