Archived topic
Changing Sidebar BG Color
13 replies · Started by John on October 19, 2015
It looks like it's easy to change the sidebar WIDGET background or even background image... but can how do I change the whole sidebar background color?
An option for this would be good I think - I'll add it to the list.
For now, you can do this:
.inside-left-sidebar {
background-color: #FFFFFF;
}
.inside-right-sidebar {
background-color: #FFFFFF;
}
Where would this be added. I actually looked around for a custom css section but didn't find it.
You can add it using these instructions: https://generatepress.com/knowledgebase/adding-css/
First, thank you for taking the time to answer my questions. I appreciate the quick response!
For now, to try it out, I just added a header text widget with style tags and the CSS you gave me. Unfortunately, it doesn't work like I had hoped.
I'm trying to emulate our existing theme and you don't really treat the sidebars the same, so it might not be possible.
I work for a healthcare provider so we're very limited in what's open to us here or I'd post a screenshot.
Hi there,
You added the CSS to a header text widget?
That wouldn't work - are you not able to add a child theme or use one of the plugins listed in that article?
Let me know :)
I actually downloaded and installed the child but I don't get a custom css.
If the child theme is activated, you can go to "Appearance > Editor" and add your CSS at the bottom of that file :)
That's not an option and I've verified that the Child Theme is active. It may be because we are using this in multi site mode. Either way... not Appearance->Editor.
Ah, if you're using multi site you have to go into the Network Admin area to edit the child stylesheet.
I changed it, but it doesn't change what we need. We need the entire sidebar that color.
Can you link me to your site so I can see the result as it is now?
I cannot. It's for our internal intranet so there's no access from outside the hospital network.
Can you send me a screenshot of what you're seeing then?
