WordPress.org

Forums

[resolved] Sidebar background gone with 2.5 upgrade (9 posts)

  1. t-lex
    Member
    Posted 7 years ago #

    Hi,

    I use the Kubrick theme and, after the upgrade to 2.5, the sidebar background went white and I can't seem to get the light gray back. Not good since the main and the sidebar (all white) are too close and they need the color distinction.

    Here: http://dl-much.deviousalien.net/

    Any ideas? Thanks,

    Lex

  2. t-lex
    Member
    Posted 7 years ago #

    Anyone?

  3. mechx1
    Member
    Posted 7 years ago #

    You can open the default style sheet style.css Around line 528 (on mine anyway), you'll see the sidebar selector. Add a background-color declaration to it. When you are done, it should look like:

    #sidebar
    {
    	padding: 20px 0 10px 0;
    	margin-left: 545px;
    	width: 190px;
             background-color:#ABABAB;
    	}

    I picked a fairly neutral grey, choose whatever you want

  4. t-lex
    Member
    Posted 7 years ago #

    OK, thanks. It's better now.

    What happens now is that the gray area is thinner than it should. It should start a little more to the left and end at the border, on the right.

    And it does not go until the bottom.

    So I'm glad it's better but still not good. Is there anything else I can do?

    I think that originally the theme repeats a pattern all the way down, which should create the gray on the left side. It's the repetition of an image file (kubrickbg.jpg or kubrickbg-ltr.jpg I believe). I don't know why this wont happen anymore or how to get it back. The image file is still there, that much I know.

  5. mechx1
    Member
    Posted 7 years ago #

    Did you save the style sheet from the original theme in your backup? Look there, and see what they did for that selector

  6. t-lex
    Member
    Posted 7 years ago #

    I did. The thing is: I don't find any reference to that image file anywhere.

  7. mechx1
    Member
    Posted 7 years ago #

    Perhaps you had had an additional style sheet modifying the original. Try looking in the head section of index.php (and header.php if you have one) to see if an additional style sheet is included. You may have to retrieve it from your backup. Since the default theme has been modified with this release, this secomd style sheet may not work quite as it did before.

  8. t-lex
    Member
    Posted 7 years ago #

    Perhaps I'll get into that tomorrow. Thank you!

  9. t-lex
    Member
    Posted 7 years ago #

    Apparently they've let go of the gray background on Default Theme version 1.6, which is used in WordPress 2.5. If they did, so can I.

    It's all good.

Topic Closed

This topic has been closed to new replies.

About this Topic