Customizing the Sidebar

by Chris on October 29, 2009 · 8 comments

There has been several comments asking how to achieve the sidebar background effects seen here on the Skin demo page. This is something I should have addressed in the release post but in all my excitement to release the skin, I just plain forgot. Anyway, here’s a quick customization guide for adding the fading background images in the sidebars.

On this demo page you’ll see 3 background images being utilized in my sidebar widgets. The light orange with the standard RSS icon in the background, the blue fader which fades to a light blue color, and the gray fader which fades to a light gray. These effects are achieved using 3 background images that are included in the skin download file.

The easiest way to add these styles to the sidebars is to add a text widget (we can add the style to other widget classes too, but that will involve adding a little extra code to the custom.css and I’ll tackle that one later) and to enclose your content inside one of the div classes I’ve defined in the skin’s custom.css file.

To add the orange style, titled subscriber in the custom.css file, to a text widget, use the following code:

<div class="subscriber">Content for your text widget</div>

For the blue fader style:

<div class="bluefader">Content for your text widget</div>

And for the gray fader style:

<div class="grayfader">Content for your text widget</div>

I defined one more class to add a light gray hightlight for links that you can see when you hover over a link in the gray fader widget on this demo page. If you’d like to add that as well to style your links inside the grayfader class, see this example code for how its done:

<div class="grayfader">
<div class="sblist1">
<a href="http://yourlink.com">Link #1</a>
<a href="http://yourlink.com">Link #2</a>
</div>
</div>

Now you can start styling those sidebars! Remember that this skin is a continual work in progress so grab the newsletter or follow me on twitter to get updates when new skin information is released. As always any questions, comments or skin suggestions are welcome!

{ 8 comments… read them below or add one }

1 Jorge l Nokia Mobile Talk November 6, 2009 at 1:42 am

Thanks for the post, great tutorial, yeah it would be great if you teach us how div regular plugins to bluefader, grayfader etc. thanks

Reply

2 ceasor December 18, 2009 at 9:11 pm

Thanks for the really cool skin. I can’t wait till you put out some more free and paid skins in the future.

A quick question: Is there a way to add the fader style to a widget like the blog roll?

Thanks.

Reply

3 mari-lyn December 31, 2009 at 12:05 am

Hi
I’ve installed the skin, nothing is showing up on my site, I like the skin especially the footer idea.
I placed the skin in my custom folder – is there something else I was supposed to do?

Mari-Lyn

Reply

4 Chris December 31, 2009 at 1:05 am

Hi Mari-Lyn,

Looking at your custom.css file on your site, I’m not seeing the skin’s custom.css file. Are you sure you uploaded the skin files to the correct folder? For your site, the skin files should be placed in this folder:
http://www.sedonapies.com/wp-content/themes/thesis_16/custom/

Check that first and if you’re still having problems, let me know!

Reply

5 Robin January 17, 2010 at 9:28 am

Chris, would you mind sharing the code for wigetizing the header? I need to do something a little bit different from your theme on another site. Thanks.

Reply

6 Chris January 17, 2010 at 5:19 pm

Robin – I just put up a video tutorial on that will walk you adding a widget to the header. http://www.thesistheme.net/thesis-tutorials/add-a-header-widget-to-thesis

Reply

7 Justyna January 17, 2010 at 12:50 pm

Hi Chris,

thanks for that great sking and your tutorials!!! I can apply everything easily but I’ve got a problem with the title of the text sidebar widget. It stands out of the orange background style. How can I incorporate it? Also I would like to put the small RSS feed button, near the subscribe text in the header. How can I do it? That same button which is default in the basic thesis theme.

Thanks
Justyna

Reply

8 Phil Birkhold February 18, 2010 at 1:20 am

Hey Team,

I can’t figure out why the footer is in the sidebar. Can you take a look at the page and let me know what you think?

Thanks

Reply

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Spam Protection by WP-SpamFree

Previous post: Internet Explorer Footer Fix

Next post: 8 New Colors for Thesis Sharp