• Resolved Jessi

    (@wbjtk)


    Does anyone know how to change the white background of the posts/pages. Wasnt sure if it was an image or code. Can’t find it anywhere! Thanks

Viewing 15 replies - 1 through 15 (of 21 total)
  • Backgrounds are generally set by CSS, though you can use images as a background — but those, too, are controlled by CSS.

    Thread Starter Jessi

    (@wbjtk)

    but specifically, where is the code that changes the white to another color!?

    [CSS code moderated – please post a link to your site]

    Thread Starter Jessi

    (@wbjtk)

    I know that it is controlled by CSS, im not talking about the main background, i’m talking about the background of the posts/pages. Anyone?

    Post a link to your site if you want specific help — unless someone can look at the code of your page/site, they cannot answer your question.

    Thread Starter Jessi

    (@wbjtk)

    Thread Starter Jessi

    (@wbjtk)

    do you need to see code?

    what could help is, how do you assign post background color generally in css? im thinking there is a line missing, and i could add one, because i have tried replacing all #fff’s, and there is no image in the folder that is for a background

    Yes, that’s exactly right — background is controlled by CSS code. I looked at the page using Firebug (a MUST for CSS work), and you can change the background color of the post entries but it also changes the background of the sidebar content. So yes, you may have to add another class (in the php code) to the post content and/or sections to isolate them. It’s not coded for a background image — although that too can be done. I spent some time on this and it looks beyond a simple change because of the way it’s coded and styled, so unless you know how to code both php and CSS, you might want to hire someone to do it.

    Thread Starter Jessi

    (@wbjtk)

    thanks so much!
    i know a fair bit of php and css, what would i have to do?

    See this on backgrounds.

    Also look at the Codex on CSS and modifying themes.

    Thread Starter Jessi

    (@wbjtk)

    i understand how to set the backgrounds etc however when i added a background color to the “main” in css, it colored a box surrounding the white post box.

    Thread Starter Jessi

    (@wbjtk)

    you can change the background color of the post entries but it also changes the background of the sidebar content.

    How do you do this? Just so i have a starting point
    Thanks!

    This is what I was referring to — change the #FFFFFF to another color to see it — it’s on line 835 of the style.css file.

    .drop-shadow {
        background: none repeat scroll 0 0 #FFFFFF;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
        margin: 2em 10px 4em;
        padding: 1em;
        position: relative;
    }

    You can likely create a new CSS declaration that more specifically targets just the post portions — but I could not easily try that.

    Thread Starter Jessi

    (@wbjtk)

    OMG! that was it! haha
    that’s all i wanted. i want the sidebar to match. im such a dummy lol thanks for all your time =)

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Cloudy Blue Sky’ is closed to new replies.