• Resolved yo go re

    (@yo-go-re)


    I’m using a custom theme based on Twenty ten for our site. Every time there’s a WordPress update, the white background on the posts would disappear. This time I finally figured out that I needed to put background colors in the #content and #container, which has fixed the problem – to a degree.

    The layout looks fine on the main pages, but if you go to an actual blog post, the container only stretches as far as the content. I need it to be as tall as the largest item on the page; in almost all cases, that will be the Primary Widget Area. How do I tell it to obey both the content area and the widget area, so the white background extends to the bottom as it should?

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

    (@alchymyth)

    i would use #main with a background-color:

    try to add this to style.css of your child theme:

    #main{background-color:#fff;width:930px;}

    Thread Starter yo go re

    (@yo-go-re)

    Beautiful, beautiful, BEAUTIFUL! That was supremely easy, and fixed it first try. Thank you, alchymyth – that was precisely what I needed to make the page work properly…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Primary widget area inside container’ is closed to new replies.