How to Change Sidebar Background Color in Blogger Templates
Hi guys, writing a tutorial after a long time. Anyway, here is a simple tutorial to change the sidebar background color in new Blogger Template Designer templates. After this tutorial, you can easily change the sidebar background color from Template Designer.
Update: I've updated this tutorial. Now
you can change the sidebar background color in all default Blogger
templates. 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 ====================
- After that, find ]]>
#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); }
]]>
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.
it;s a nice tutorial..
ReplyDeletethis code only works where there are gadgets on the sidebar.. do you know how I can put it in the entire sidebar,, even where there are no gadgets ??
ReplyDelete