Sidebar Color
-
I have my sidebars different colors. The primary is green and the secondary is white, but the secondary sidebar near the bottom displays the green color.
Secondary Sidebar CSS:
/* set full secondary sidebar background */
.s2, .main {
background: #ffffff !important;
}Primary Sidebar CSS:
/* set full primary sidebar background */
.s1, .main-inner {
background: #f3fbc4 !important;
}My website is: http://grangerwashington.org/
-
Remove the .main-inner class from your css selector.
Primary Sidebar CSS: /* set full primary sidebar background */ .s1 { background: #f3fbc4 !important; }That makes the secondary sidebar all white which is what I want, but my primary sidebar is green until the bottom which shows gray.
Here is my code for the primary sidebar:
Primary Sidebar CSS:
/* set full primary sidebar background */
.s1 {
background: #f3fbc4 !important;
}website: http://grangerwashington.org/
To change the colour background of sidebars (only with widget inside), this has worked for me:
.s2 {
background: ##eaeaea;
}
.s1 { background: #f2f2da; }I want to change the whole Primary sidebar a green and the whole secondary sidebar white. Neither of the above have worked. What should I try next?
Website: http://grangerwashington.org/
Got it! Thanks!
The topic ‘Sidebar Color’ is closed to new replies.
