Jump to content
Sign in to follow this  
dkstokes

Change background color of sidebar

Recommended Posts

dkstokes

Hi..looked all over and saw this question asked several times and answered with 'hit us up in the forum' 'use custom css' and use 'design control'. Could you be a bit more specific please?

Share this post


Link to post
Share on other sites
catrina

Can you please post a link to your site and point out which sidebar you'd like to change?


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
dkstokes

oh..I set the template to 1 right sidebar so it should be sidebar1 I think? Is it a different process for each type of sidebar?

Share this post


Link to post
Share on other sites
revivalasia

Yes i would like an answer to this as well ;-)

Share this post


Link to post
Share on other sites
catrina

Yes, there is a different solution depending on which sidebar it is. Do you have a link to your site?


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
dkstokes

Catrina, Thanks for answering again. I am trying to convert a few of my sites over to platform pro and retain the original look as much as possible. Nothing too complicated (I think). I have figured out all but how to handle the sidebar. All have the right column using widgets and the background of each widget is different than the page or body background. And there is a space between widgets. Here is a link to one of the sites - http://shirataki-noodles.recipesilove.com/ I figured out that I can add some code to the custom code and the entire column background color changes. But how to get that (white) space between the widgets? Here is what I added (still playing - started from what was in the original theme) #sidebar1 { background-color: #f7f7f7; background-image: none; background-repeat: repeat; margin-top: 10px; margin-right: 5px; margin-bottom: 10px; margin-left: 0px; padding-top: 10px; padding-right: 1px; padding-bottom: 10px; padding-left: 1px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #e6e6e6; border-right-color: #e6e6e6; border-bottom-color: #e6e6e6; border-left-color: #e6e6e6; } Does that help?

Share this post


Link to post
Share on other sites
dkstokes

I figured it out. I'll post it for anyone else that needs this info. I was looking at the wrong area - sidebars. For my purpose - all were widgets so here is what worked for me. I added the following to the custom css area. You can adjust margins, padding, borders, etc... as you need. .widget { margin-top: 5px; margin-right: 5px; margin-bottom: 10px; margin-left: 5px; padding-top: 5px; padding-right: 1px; padding-bottom: 5px; padding-left: 10px; background-color: #f7f7f7; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #e6e6e6; border-right-color: #e6e6e6; border-bottom-color: #e6e6e6; border-left-color: #e6e6e6; }

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×