WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Sidebar background color issue (7 posts)

  1. hanflow
    Member
    Posted 1 year ago #

    My blog: http://imperativesounds.com

    For some reason, the sidebar's background color stretched down to where the last widget is. How do I make it so that it stretches all the way to the bottom?

  2. W.P. Ginfo
    Member
    Posted 1 year ago #

    Hi hanflow,

    It does so, because the css-rule encompasses only the area of the sidebar that has 'content' in it.

    Make the following change to line 2402 of the 'style.css'

    .sidebar #primary, .sidebar #secondary {
        width: 300px;
        height: 7900px; /*added to increase height of sidebar*/
    }

    !!Note: his is a crude way of doing this. Should this page increase in height, you'd need to adjust these values.

  3. hanflow
    Member
    Posted 1 year ago #

    W.P. Ginfo,

    Thanks for your reply. I really appreciate. However, I've tried changing the coding to what you provided, but nothing has changed. Maybe there's something else that needs to be done?

  4. paulwpxp
    Font hero
    Posted 1 year ago #

    In the old days, not so old, just before the rise of RWD, you would use a vertical repeat background image to achieve that effect. When it comes to RWD, it's difficult to do that.

    When you think about it, sidebar should or should not be colored when there is no content in it ?

  5. W.P. Ginfo
    Member
    Posted 1 year ago #

    Hi hanflow,

    I tried it on your site, so I'm sure it works!
    Make sure you've emptied your browsercache.

    http://www.wikihow.com/Clear-Your-Browser%27s-Cache

  6. hanflow
    Member
    Posted 1 year ago #

    You're absolutely right. Thank you all very much!! This place rules. I love how everyone is so helpful.

  7. W.P. Ginfo
    Member
    Posted 1 year ago #

    You're welcome.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.