Update: I've updated this tutorial. Now you can change the sidebar background color in every Blogger template. Templates with multiple sidebars can also have different colors for each sidebar.
Steps!
- Open the Template section.
- Click the Edit HTML button.
- A new window will open. You'd have to click the Proceed button to start editing.
- Find the following code:
/* Variable definitions ==================== - REPLACE the above code with the following one:
/* Variable definitions ==================== <Group description="Right Sidebar Background" selector="body"> <Variable name="sidebar.right.top.color" description="Right Top Sidebar Background" type="color" default="#00f" value="#0000ff"/> <Variable name="sidebar.right.left.color" description="Right Left Sidebar Background" type="color" default="#ff0" value="#ffff00"/> <Variable name="sidebar.right.right.color" description="Right Right Sidebar Background" type="color" default="#f0f" value="#ff00ff"/> </Group> <Group description="Left Sidebar Background" selector="body"> <Variable name="sidebar.left.top.color" description="Left Top Sidebar Background" type="color" default="#00f" value="#0000ff"/> <Variable name="sidebar.left.left.color" description="Left Left Sidebar Background" type="color" default="#ff0" value="#ffff00"/> <Variable name="sidebar.left.right.color" description="Left Right Sidebar Background" type="color" default="#f0f" value="#ff00ff"/> </Group> <Group description="Sidebar Column Background" selector="body"> <Variable name="sidebar.bgr.color" description="Right Sidebar BG Color" type="color" default="#f00" value="#ff0000"/> <Variable name="sidebar.bgl.color" description="Left Sidebar BG Color" type="color" default="#f00" value="#ff0000"/> </Group> - After that, find ]]></b:skin> and REPLACE it with the following code:
#sidebar-right-1 { background: $(sidebar.right.top.color); } #sidebar-right-2-1 { background: $(sidebar.right.left.color); } #sidebar-right-2-2 { background: $(sidebar.right.right.color); } .column-right-inner, column-right-outer { background: $(sidebar.bgr.color); } .column-left-inner, column-left-outer { background: $(sidebar.bgl.color); } #sidebar-left-1 { background: $(sidebar.left.top.color); } #sidebar-left-2-1 { background: $(sidebar.left.left.color); } #sidebar-left-2-2 { background: $(sidebar.left.right.color); } ]]></b:skin> - Click Save template and then Close button.
How to Change the Background Color in Template Designer?
We've finished the coding stuff, now simply click the Customize button to open Blogger Template Designer.
Then click the Advanced tab. You'll see 3 new options there. First one is Right Sidebar Background. It has 3 further options.
Right Top Sidebar Background: This will change the background color of the top section in the right column.
Right Left Sidebar Background: This will change the background color of the left sidebar in the right column.
Right Right Sidebar Background: This will change the background color of the right sidebar in the right column.
Next option is Left Sidebar Background. It also has 3 further options.
Left Top Sidebar Background: This will change the background color of the top section in the left column.
Left Left Sidebar Background: This will change the background color of the left sidebar in the left column.
Left Right Sidebar Background: This will change the background color of the right sidebar in the left column.
Last option will be Sidebar Column Background. This is the most interesting one because it affects the whole column rather than a single sidebar section. It has 2 further options.
Right Sidebar BG Color: The color in this option will change the background of whole column on the right side.
Left Sidebar BG Color: This option will change the background of left side column.



Hi!
ReplyDeleteThanks for this code, but funnily enough the colours don't seem to show up on blog. I am using Simple as the base template, and after editing the code I am able to see a customization option in my Advanced design editor. Why do think this may be happening?
Thanks in advance!
@ Rabia Fathima, I don't know exactly, you can send me your template file and I'll have a look at it!
ReplyDeleteThanks this was the first one that worked for me!!!
ReplyDeleteTHANK YOU!!!!
ReplyDeleteHello, I followed all the steps. However, when I change the colors on the sidebar, it does not show up on my blog. Here is my blog url:
ReplyDeletetracysbistro.blogspot.com
@ Miss Tracy A., send me your template file.
ReplyDeletelevisinside0@gmail.com
Yep - options are now there, but selection isn't showing on blog.
ReplyDeleteThank you so much for this its exactly what I've been looking for. I'm also trying to change the background colour of the main body of my blog (the area where my actual posts are), as I have a busy background but would like my posts to be on a plain background so they are easier to read. I imagine the process is similar to this, but I don't know how to do it! Any advice would be so appreciated, thank you.
ReplyDeletewow thanks!
ReplyDeleteThe colour does not show up on my blog. www.stkhit.blogspot.com Please advice what should i do.
ReplyDelete@ Shwe Thiri Khit, what colour do you want to use as background of your sidebar? Send me your template file:
ReplyDeletelevisinside0@gmail.com
Hi!
ReplyDeleteThanks for your help. It added a little accent to my blog. I also hope that you can show us how to put a background color to the title of each categories on the side bar:)
Keep it up!
Trying to use this to change my sidebar background to white. I made the changes but they don't show up on my blog.
ReplyDelete@ YaYa, if you need help, see this:
ReplyDeleteNeed Help? What is the Best Way to Get Help From ME?
Thank you. Great post.
ReplyDeleteOhhhh, Thank you, thank you, thank you!!!!! I have been searching the web for instructions that would WORK! Yours did on the first try!!
ReplyDeleteThis is amazing! Thank you so much for the help! I have both my sidebars on the same side and was hoping to make them two different colors but with this tutorial it changes them both to the same color. Any tips or thoughts?
ReplyDeletehttp://expeditioncornwall.blogspot.com/
ReplyDeleteI am using the simple template and "change sidebar colour" has appeared but the background colour will not change on the blog, Thanks loads if you can help.
thanks a lot. it helped
ReplyDeleteWoohoo! it worked
ReplyDeleteThanks a bunch
I've used the same code principle to try to change the sidebar text (as I want it different to the post text). The option showed up in customise area but changes not showing on blog.
ReplyDeleteIf you don't mind taking a peek at this different application of your code, I would appreciate it.
http://bohemiantwilight.blogspot.com/
@ Monica, I've tested the tutorial again. It is working fine for me. Please send me your template file, I'll have a look at it.
ReplyDeletelevisinside0@gmail.com
You can download the file from Template section by clicking the Backup/Restore button at top right.
Thank you so much for this tutorial! It was exactly as I was looking for and was able to customize my colors. I wish there was a sidebar border option, but for the moment I am satisfied!
ReplyDeletehow about change the sidebar background color completely? like bloggersentral.com?
ReplyDeleteHi there, that would require further editing of the template.
DeleteThanks for this post. I tried it and it worked. The only issue is the length of the color changes doesn't extend all the way down my page. any suggestions?
ReplyDeleteHi Nakisha, what template are you using? What is your blog address? Complete background change would require additional coding.
Delete