How to Change sidebar widget background and Border in Thesis Theme

by Pascal on December 28, 2009

This video tutorial explains about how to style our sidebar widgets. Normally thesis theme 1.6 sidebar widgets are very simple. In order to look our sidebars pretty we need to  Style your widget  background and text area. sidebar give the better impression to our visitors  so we need to concentrate more on sidebar widget element customization. Normally thesis theme  widget similar to the below image.

Before

To style your widget text area by copy and paste the following code in custom.css file.

/*side bar widget area link style */

.custom li.widget ul li{
background:#F0F0F0;
border: 0.1em solid #C7C7C7;
-moz-border-radius:4px;
padding:0.5em;
margin:0.5em;
}
  1. For do this  login your wordpress admin
  2. Choose ‘custom file editor’ under thesis options in left sidebar of the wordpress dashboard.
  3. Select custom.css file and click on edit selected file.
  4. Paste the above code and save it. Then visit your site.

The above code is to style the sidebar widget text link area only not to style the whole widget  area.

The above mentioned code you can change text area background color. The widget text link area contains Line height, font size of the text link. If you want to modify your widget text font Just add font-size: 1.5em; this code is not to change the widget title size. You can also remove border if you don’t want.

You can also style your widget area by adding the following code in custom.css file

/*side bar widget bacground*/

.custom li.widget ul {
background:#444;
border: 0.1em solid #C7C7C7;
-moz-border-radius:4px;
padding:0.5em;
}

For do this follow the above four steps.

The above code contains the background of the widget area. Styling widget title is not included in this code to style widget title click here. Once you pasted the above codes your side bar widgets shown like the below image.

After

Share the experience in comments with new widget style in your sidebar.

Related Tutorials:

  1. Widgetized Thesis Theme-Header, Content box and Footer
  2. How to Create Wigetized Footer in Thesis Theme?
  3. How to Place Different Background Color for Each Sidebar Heading in Thesis Theme
  4. How to Place Ads Box Before The Post Title in Wordpress Thesis Theme?
  5. How to add Social Bookmark Icons at Right Side of the Post in Thesis Theme

{ 23 comments… read them below or add one }

Himanshu December 30, 2009 at 7:33 PM

Thanks Pascal for this tutorial, I was just looking for this tutorial. You blog is awesome, keep up your good work.

Reply

Pascal December 30, 2009 at 11:39 PM

You are welcome. Keep on reading. We have more customizations.

Reply

aviaitonMY January 17, 2010 at 10:36 AM

Hi, pertaining to your tutorial above,

how to add background color, image or border in different widget, Ive tried your tutorial it works like charm, thanks.

but like, let say, popular post, random post, top commentator etc. i want a to add a different background color to make it very2 easy to indicate. like the sidebar heading:

***hey maybe you should add this in your tutorial.***

.custom li#random-posts h3 {text-align: center; font-weight: bold; font-size: 1.3em; color: #FFFFFF; padding: 0px 5px; background: #FD453B6;}

so hows pascal? i tried to use the same way like the code above but i dont know how to change from the heading to background code…i hope you could fix this for me..

thank you!

Reply

BestofBlogger December 31, 2009 at 8:26 PM

Thank you very much for sharing friend. But is widjet or widget? i added codes but nothing changed.

Reply

Pascal December 31, 2009 at 9:18 PM

you are welcome. Yes that is widget only. you can change now, it will work.

Reply

BestofBlogger December 31, 2009 at 8:27 PM

And may you tell how can I add 3 column footer to thesis?

Reply

Pascal December 31, 2009 at 9:23 PM

we are already posted. click follow link you can get answer for your question. thanks

http://fourblogger.com/create-3-column-footer-for-your-thesis-theme/

Reply

BestofBlogger January 1, 2010 at 12:39 AM

ok, I got it, thank you so much

Reply

BestofBlogger January 1, 2010 at 4:52 AM

And i have a question also. How can i entegrate gallery plugin (fancy-transitions-featured-gallery) to thesis or any slide show plugin? Please help me.

Reply

Pascal January 1, 2010 at 12:50 PM

let you soon we will put post for your question.thanks..

Reply

Sriraj January 3, 2010 at 5:03 PM

Thanks Pascal. I was listening to your tutorial yesterday on YouTube and now implementing then on a test site. Will shift to thesis very soon

Reply

Pascal January 3, 2010 at 6:20 PM

You are welcome sriraj. you can customize your thesis theme as your own wish.

Reply

Tony Thomas January 5, 2010 at 7:04 AM

WOW-WEE! That was awesome!

Great tutorial… All of your videos
are great!

Thank you, so much Pascal!

Reply

Pascal January 5, 2010 at 9:32 AM

Thanks Tony. Do you use Thesis Theme?

Reply

Tony Thomas January 5, 2010 at 9:46 PM

Yes, my partner has it. Configuring site
as we speak. Will be uploading it soon.

If it were not for your tutorials
we’d be lost!

Thanks again!!!

Reply

Tanmoy January 10, 2010 at 5:03 PM

Graet thesis customization tutorials are here i think.

Reply

Pascal January 10, 2010 at 6:13 PM

Thanks Tanmoy. We have made all tutorials with videos. You can get all videos here http://youtube.com/fourblogger

Reply

Shahab khan January 30, 2010 at 2:23 AM

Thanks for the nice article man. It helped me a lot!

Reply

Vivek February 17, 2010 at 5:20 AM

As the code mentioned by you are not working on my blog can you tell me where i am facing the problem?

Reply

Suresh February 17, 2010 at 10:13 AM

hai vivek,
In your custom.css file in header css code brfore the background: #333 url you are having /* but there is no close comment line like */
thats why your next code sidebar h3 is not working. you should add */ this line in header css otherwise remove /* in ths same line.

Reply

Ben February 24, 2010 at 8:33 PM

Thanks for tutorial. However, my column order is S1 content S2. And when I apply your code to css only sidebar 2 changes. How can I also change S1?

Reply

Pascal February 25, 2010 at 7:14 PM

Give your site name, then only we will rectify your error.

Reply

Lisa June 30, 2010 at 12:15 PM

Thankyou. That was just the thing I was looking for.

Reply

{ 1 trackback }

You are now listed on FAQPAL
December 28, 2009 at 4:16 PM

Leave a Comment

Page 1 of 0