Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1178

    Hey,

    I use the double column sidebar and have it set up with a different background color than the main background. Currently, the sidebar extends to accommodate the content located inside then stops.

    I would like the sidebar to extend down to the bottom of the page, but can’t figure out how to do it. I have tried adding height:100% to the css in all areas concerning the sidebar, but still no luck. Any suggestions?

    Thanks.

    #34302

    Hey,

    What’s the site URL?

    One way to do this is to set the background colour as an image applied to the whole content area, make the sidebar area the correct colour and repeat the image down the page. This would ensure that the background extended the whole way down the page.

    James

    #34303

    Hey James,

    Yeah, I thought of the doing the background thing, I was just hoping there would be a more elegant solution. Any more ideas on how I could achieve this via css?

    #34304

    Hey,

    Can you post the site URL?

    I’ll take a look at what you’ve done so far and I’ll see what can be done to extend the background with CSS.

    James

    #34305

    Sure thing, thanks James. The site is http://www.cjpwworld.com.

    I did take your earlier suggestion and I am now using a background image in the main div as a workaround. However, I would prefer to lose the image and do it in code.

    Thanks again.

    #34306

    Hey,

    To be honest, I’d stick with the background image. This way you don’t have to worry about hacking the code to force the sidebar height to match the main content (or what if the sidebar was bigger than the main content???).

    James

    #34307

    Hey James,

    Just wondering how do I add a background color to my sidebar. I am using a double column sidebar. Also how can I get rid of all the categories titles/and read more buttons. I would like to have a static welcome message so there is no need to use posts there.

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Sidebar help’ is closed to new replies.