Support » Themes and Templates » Image Pages Don’t Have Correct Background

Viewing 4 replies - 1 through 4 (of 4 total)
  • Nile Flores


    Yoast Support

    If you mean the top banner, I am seeing it on both, but it is entirely too short compared to the width of the content area.

    I am not seeing

    <div id="content" class="clearfix">

    I believe that should put that white background for your content area back up.

    Okay, that kind of fixed it, but the white part still doesn’t go down far enough and the text underneath the photos runs into the sidebar. Did I put it in the wrong place?

    Thank you for your quick response!!!

    Nile Flores


    Yoast Support

    What I suggest is looking at the templates of both of those, your index.php and page.php, and then making sure your formats are similar up to the point you add the content of your post. I noticed a lot of different code from one to the other and for editing / organizational purposes, you want to make sure your templates are easy to edit.

    Your content division layer, if you see in your index.php file is right above:

    <div id="right">

    So, that other code I pointed out must be above the “right” division layer must be there.

    Thanks Blondishnet! I toyed around with the location of some of the divs and it started working. I appreciate your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Image Pages Don’t Have Correct Background’ is closed to new replies.