changing the background color for the Sundance theme
-
I want to change the background color of my blog (which is currently using the Sundance theme) to a light tan color (rgb(232,221,203)). I’ve been able to do that using the code shown below. However, is there a better way to accomplish what I want to do?
div {
background: rgb(232,221,203);
}#page {
margin: 0 auto;
max-width: 984px;
padding: 0;
}#masthead {
margin: 0;
}The blog I need help with is: (visible only to logged in users)
-
Generally for background colors with WordPress themes, you specify the overall background color in “body” such as below. I added in the page ID as well.
body, #page { background: rgb(232,221,203); }Doing it with “div” is basically a shotgun approach and turns absolutely every div in the page that tan color. While this may work in some instances, it could end up turning things tan that you would not want to be tan.
-
Thank you very much for your suggestion. Unfortunately, that doesn’t appear to change the background color. It changes the bars on the sides, but not the background color in the middle, where the text is.
I really appreciate your input, though!
-
-
You are welcome. Sometimes my Firefox Firebug add-on lets me down on CSS coding, which was the case here. Glad it worked for you, and thanks.
- The topic ‘changing the background color for the Sundance theme’ is closed to new replies.