Background color positioning
-
Is it possible to position background color? I would like the page background color to extend to the line above the footer.
The blog I need help with is: (visible only to logged in users)
-
The length of the page is set by either the content, or the sidebar. In this instance, the content of the sidebar is longer than that of the content, so there is the gap below the content. The following CSS will fix this, but if you add sidebar content, or you add content to the main page, or you get a bunch of likes, it will be misaligned again.
First, remove the following from your CSS
.page { background: none repeat scroll 0 0 #DCE3E6; }and then add this
body.page .hentry { margin-bottom: 0; } .page .site-content { background: none repeat scroll 0 0 #DCE3E6; min-height: 499px; }This should fix all of your static pages where the content is shorter than the sidebar. Also, make sure and narrow and widen your browser window as the above solution does not hold for all browser window widths.
-
-
- The topic ‘Background color positioning’ is closed to new replies.