Tutorial: Customizing Thesis – Standard to Unique in 6 Easy Steps

Customizing your Thesis Theme site for that unique look is often simply about changing the default look by using different colours, moving common elements to a different place and injecting a little bit of yourself into your site.

In this guest post by George Serradinho, learn how to:

  1. Colour the background of your sidebars
  2. Change the colours of the sidebar headers
  3. Place the tagline underneath your header image
  4. Add the search box to the right of the tagline
  5. Add the authors profile box to posts
  6. Add a Thesis ad box

Guest Post On Thesis Theme HQ

Introducing Guest Posts on Thesis Theme HQ

This is my first guest post on ThesisThemeHQ.com and I hope you find my Thesis customizations useful. There are many sites using the Thesis theme and it’s always nice to see many sites offering ways and techniques to customize the theme.

George Serradinho, Serradinho.com

Please remember to place all CSS code in your custom.css file and the PHP code in your custom_functions.php file.

1. Colour the background of your sidebars

Depending on your site’s layout, you could be using one or two sidebars. Sidebar header colours and font

For this example, I am using 2 sidebars, one on the left and another on the right.

To change the colours of the background for your sidebars, it just means placing some lines of CSS code into your custom.css file and clicking on the save button and refreshing your browser.

I am currently using the colour #F5F5F5 in the CSS code below for my left sidebar, all you need to do is change that colour to your desired colour of choice.

You can change the colour of the left sidebar [sidebar_1] or right sidebar [sidebar_2]

CSS

.custom #sidebar_1 {background:#F5F5F5 none repeat scroll 0 0;}

2. Change the colours of the sidebar headers

I have seen many sites have their sidebar header titles highlighted or even changed the font. This is so simple with Thesis, all you have to do is just add one line of code to your CSS file and you are done.

Thesis uses the ‘sidebar h3‘ for the header titles, you could change the header background, the colour of the font and even the font style itself.

I have used the same colour for my sidebar headers as my site, which is #F5F5F5 and white for the font. You could change that to your desired colour of choice.

CSS

.custom .sidebar h3 {font-weight: bold; color: #FFFFFF; padding: 0px 5px; background: #339999;}

3. Place the tagline underneath your header image

Tagline under header image

I have previously written about 3 Basic Thesis Customizations detailing how to add a clickable header image to your site and this is a follow up on that post to now add the tagline underneath.

You will have to play around with the indent and the font colour if you wish to change it. I have also added the CSS code to make the header image clickable.

CSS

.custom #header #logo a {display: block; width:950px; height: 200px; background: url('images/main_serradinho_logo2.png') no-repeat; outline: none;}
.custom #header #logo {text-indent: -9999px;}
.custom #header #tagline {height: 30; text-indent: 25px; font-weight: bold; color: #000000; padding: 5px;}

4. Add the Search Box to the right of the tagline

Search box under header image

I had struggled with this for a while and eventually got it right. Once the tagline has been placed, then you can add this CSS code to have the search box aligned to the right. You could use this to place the search box anywhere if you like.

You will have to play around with the font size and colour, box width, the top margin and the background colour to get your desired results.

CSS
/* Position the Search Box */
.custom #s {font-size:12px; position:relative; float:right; margin-top:17em; background:#EEEEEE; color:#000000; padding:0.2em; width:200px;}
.custom widget thesis_widget_search {background:#fff;}

PHP
add_action('thesis_hook_before_title', 'thesis_search_form');

5. Add the author’s profile box to posts

Author profile box

Most sites have a small box at the end of the post containing the authors profile showing the author’s name, total number of posts written, a small profile of the author, etc.

The authors profile is taken from the details they have entered in the admin panel for the users profile.

Once logged in, you can:

  • Go to ‘Users’ panel
  • Then to ‘Your Profile’
  • Then browse down to ‘Biographical Info’ and enter whatever you want to see
  • Click on ‘Update Profile’

Author profile box profile details

In the following code, you will have to:

  • change the link details for ‘RSS’, ‘EMAIL’
  • remove the link for ‘Mobile Version’ if your site does not have one

You could add all kinds of other information here by including it in another paragraph – it’s your choice.

PHP

function post_footer_author() {
if (is_single())
{ ?>
<div class="postauthor">
<?php echo get_avatar( get_the_author_id() , 100 ); ?>
<h4>Article by <a href="<?php the_author_url(); ?>">
<?php the_author_firstname(); ?> <?php the_author_lastname(); ?></a></h4>
<p><?php the_author_description(); ?></p>
<p class="hlight"><?php the_author_firstname(); ?> has written <span><?php the_author_posts(); ?></span> awesome articles.</p>
<p>Subscribe to Serradinho feed via <a href="http://www.serradinho.com/Blog/feed"><b>RSS</b></a> or <a href="http://feeds2.feedburner.com/SerradinhoBlog" target="_blank"><b>EMAIL</b></a> to receive instant updates. We also have a <a href="http://serradinhoblog.mofuse.mobi/" target="_blank"><b>Mobile Version</b></a> for viewing on cell phones.</p>
</div>
<?php }
}
add_action('thesis_hook_after_post_box', 'post_footer_author');

CSS
.postauthor {background: #F5F5F5; border-top: 1px solid #e1e1e0; border-bottom: 1px solid #e1e1e0; overflow: hidden; padding: 1.5em;}
.postauthor img {border: 1px solid #e2dede; float: left; margin-right: 1.5em;}
.postauthor h4 {color: #666; font-size: 2em; margin-bottom: 5px;}
.postauthor p {color: #515151; font-size: 13px; margin-bottom: 12px;}
.postauthor p.hlight {font-size: 11px; text-transform: uppercase;}
.postauthor p.hlight span {color: #CB3131; font-size: 13px; font-style: italic; font-weight: bold; letter-spacing: 0.8px;}

6.

Powered by box

On Serradinho.com, I have a yellowish box at the bottom of each post promoting Thesis, this box could however be used for any purpose. You could play around with the colour of the link, background colour, font size and so much more.

PHP
function powered_by() {
if (is_single())
{ ?>
<div id="powered_by">
<h3>Powered by Thesis</h3>
<a href="http://diythemes.com/thesis/get-thesis/?a_aid=style&amp;a_bid=47c5a620" target="_blank"><img src="http://www.YourSiteURL.com/Blog/wp-content/uploads/2009/05/thesis-125x125_b.png" height="125" width="125" alt="Thesis Theme" align="right" /></a>
<p>An amazing WordPress Theme, nothing beats the versatility and SEO friendliness of the Thesis framework.</p>
<p>From beginners, to the most advanced WordPress developers, Thesis makes it easy for anyone to customize it.</p>
<ul>
<li><a href="http://diythemes.com/thesis/get-thesis/?a_aid=style&amp;a_bid=47c5a620" target="_blank">Get Started With Thesis Now</a></li>
</ul>
</div>
<?php }
}
add_action('thesis_hook_after_post_box', 'powered_by');

CSS
#powered_by h3, #rightcol h3 {font-size: 1.8em; letter-spacing: normal; padding-top: 15px;}
#powered_by {background: #FFFBCC; border: 1px solid #E6DB55; float: left; margin: 5px; padding: 19px 10px; -moz-border-radius: 5px; -webkit-border-radius: 5px; width: 45%;}
#powered_by img {border: 0px solid #e2dede; float: right; margin-right: 1.5em;}
#powered_by {float: left; width: 93%;}
#powered_by p {font-size: 14px; line-height: 1.5em; padding: 10px 1em 10px 0;}
#powered_by h3 {padding: 0;}
#powered_by ul {list-style-position: inside; list-style-type: square; margin-left: 1em;}
#powered_by ul a {border-bottom: 1px solid #CB3131; font-size: 14px;}
#powered_by ul a:hover {border: 0;}
#powered_by li {margin-bottom: 10px;}

Final Words

I hope the customizations above have shown you how easy it easy to make changes to your theme. Thesis is an unbelievable theme and I would recommend it to anyone.

A bit about Our Guest Writer

George Serradinho is a 30-something South African blogger who uses Thesis Theme for his personal blog Serradinho.com. Visit his site for articles on blogging news and tips and tricks for WordPress and Thesis Theme. You can also find free downloads of PLR articles, ebooks, images and graphics.

If you would like to read Thesis Theme HQ’s review of his Thesis site, read:

Switching to Thesis Theme: When Personal Blogging Becomes Business

Related Posts

  1. Free HTML and CSS for a Table Within a Post or Page
  2. 4 Nifty Code Snippets to Trick Out Your Thesis Theme
  3. Thesis Theme Tutorial: Image Line Up
  4. Trick: Thesis Feature Box For A Dynamic Navigation Bar
  5. 6 More Examples of Unique Thesis Theme Sites

{ 49 comments… read them below or add one }

1 George Serradinho 30 Jun 09 at 3:09 pm

Hi Somone,

Thanks for giving me the chance to guest post on your site, appreciate it :)
George Serradinho´s last blog ..3 FREE eBook downloads 29/06My ComLuv Profile

Reply

2 Harsh Agrawal 15 Aug 09 at 7:03 am

Great post George . very helpful.
Harsh Agrawal´s last blog ..Wordpress.com Got WP URL shortener My ComLuv Profile

Reply

3 aviationMY 5 Jan 10 at 5:36 pm

hi,

how to change post title or content title in thesis..all my post including content is black i wanna add some colors to make it more prominent…

help me please!!

thank you!

Reply

4 Somone Bull 6 Jan 10 at 6:40 am

Simply go to the Design Options tag in the dashboard under body, content..area and choose your colours. You can change the fonts with the quick colour picker or add the HEX code of your colours of choice. No need for code with Thesis 1.6+

Reply

5 Somone 30 Jun 09 at 10:42 pm

My pleasure George. If you are a talented Thesis Theme user and would like to guest post at Thesis Theme HQ, please drop us a line using the contact form – link in bottom left of footer.
Somone´s last blog ..Blogging Down Under With The Thesis ThemeMy ComLuv Profile

Reply

6 Mr GM 1 Jul 09 at 9:21 pm

hey, this is very useful thesis tutorial again on your blog. come on Sergio, we need more tutorial.. :)

thanks a lot Sergio
Mr GM´s last blog ..Hasil Bedah Siasat Micheal JacksonMy ComLuv Profile

Reply

7 Salt Lake City Movers 2 Jul 09 at 3:44 am

This is one of the best Thesis tutorials I’ve read so far. I just came here through a link on George’s blog because I also use Thesis on my personal blog and wow, I didn’t even know there was so much stuff I could customize! Thanks so much for this. -Michael

Reply

8 George Serradinho 3 Jul 09 at 6:12 pm

Not a problem, I hope to have another guest post soon explaining how to change the alert and note boxes to have more of an appeal.
George Serradinho´s last blog ..Another Award for Me – Freindship ChainMy ComLuv Profile

Reply

9 B. Durant 12 Jul 09 at 6:44 am

Thanks for the plainly written tutorial on customization. Hope there will be more in the future. Thesis is great but it lacks documentation.
B. Durant´s last blog ..Win a free Ball Python from Pet-Snakes.com My ComLuv Profile

Reply

10 Somone Bull 12 Jul 09 at 12:45 pm

What kind of documentation would you like to see. I thought copying and pasting from the screen would be enough? Grateful for your feedback.

Reply

11 DJ Mixing Tips 18 Jul 09 at 6:30 am

This is kind of unrelated but I have been trying to find the answer (unsuccessfully) and I think you might know. I’ve seen many Thesis (and other themes) blogs where there is a checkbox to subscribe to replies to a person’s comment under the comment box. Mine doesn’t have that, and it looks like yours doesn’t either, but is that a feature I can easily enable?
DJ Mixing Tips´s last blog ..Beginner DJ Tutorials – Beatmatching Tutorials & Other Tips My ComLuv Profile

Reply

12 George Serradinho 27 Jul 09 at 11:15 pm

Hi DJ Mixing Tips,

what you are looking for is a plugin called ‘Subscribe to Comments’.
George Serradinho´s last blog ..Serious Monday Roundup #2 My ComLuv Profile

Reply

13 Matt 27 Jul 09 at 9:09 am

Thanks so much – you’ve really helped me out!! :)

Reply

14 Sampson 5 Aug 09 at 7:08 pm

WOW! How did I miss your site when I was scouring the web for how to customize my site using Thesis? This is the best ‘How-to’ site on Thesis customizations I have found so far. George & Somone, thanks for sharing…Now I don’t know which of you I should buy Thesis through? :-)

Hmmm…

Cheers!
Sampson

Reply

15 Toan Nguyen Minh 6 Aug 09 at 3:32 pm

Great post, I have added this post to my 100+ thesis theme resources.
Thanks for sharing!
Toan Nguyen Minh´s last blog ..100+ Thesis Theme Resources My ComLuv Profile

Reply

16 via 17 Aug 09 at 8:41 pm

Just bought Thesis myself, these are some great tips bro!

Will definitely implement these once I get my general theme up and runnign!

Reply

17 Akmal Wardak 21 Aug 09 at 12:38 pm

thanks for the awesome tips. i added a thesis box to the bottom of my posts.
Akmal Wardak´s last blog ..Adding A Retweet Button To Blog Posts My ComLuv Profile

Reply

18 Somone Bull 24 Aug 09 at 10:11 am

Akmal @ your site looks great. Like your boxes after post and your image links in your sidebar. I will check back in a few months and see how you have progressed. I’ve tipped you for a review in the future.

Reply

19 Chris 27 Aug 09 at 12:03 pm

Hi, I changed the color of the sidebar headers, but one of them is an RSS feed, so the font color is blue (instead of white) which looks bad on the green. This is because the sidebar title itself is a link to the RSS feed.

Any way to work around this?

Also, how would I change the sidebar header font styles?

Thanks!!

Reply

20 Somone Bull 27 Aug 09 at 2:17 pm

Chris @ I don’t have a link to your site so I will give you general css advice for your sidebar headers:

On Beyond 2012 HQ I use the following:

.sidebar h3 { color: #A60400; font-weight: bold; font-size: 1em; line-height: 1.385em; margin-bottom: 0.692em; }

You could control separate sidebars by using “.sidebar_1 h3″ and “.sidebar_2 h3″ and give them different colors if you have one dark and one light sidebar for example.

Re: your feed and image headers – you could use an image or add css for the feed. Not sure how your feed is set up, via Thesis default, html in a text widget, etc.

The Thesis Forum will be able to help you out with different RSS options. One day I will consider an Aweber account but for now I am happy to just use Feedburner/Google code and an image link in the sidebar.

Reply

21 Toki Tover 7 Sep 09 at 9:11 am

Hey there,

I was wondering how I could get my avatar to show up? Where do I upload this to?

Thanks.

Reply

22 Toki Tover 8 Sep 09 at 5:37 am

Hello,

My comment was for the “authors profile box”. I added the code like you have stated but my picture does not show up. I do have a gravatar but nothing shows up. Could you explain?

Thanks,

Toki Tover

Reply

23 Somone Bull 8 Sep 09 at 1:15 pm

Toki @ head on over to Gravatar.com and grab yourself a free gravatar account. Upload your image and use the email address you register with Gravatar as your profile email. You can have multiple free Gravatar accounts if you have different emails. Then, wherever you use that email – that image will appear all over the web where Gravatr is supported (nearly every blog these days if the website chooses to display it).

Reply

24 Mathdelane 1 Oct 09 at 8:18 pm

This is a timeless piece of information. I normally look back to this blog just to be reminded of these few tricks and I’m pretty satisfied. Good Job Somone!
Mathdelane´s last blog ..Typhoon Ondoy Victims Need Help My ComLuv Profile

Reply

25 Ricky 12 Oct 09 at 3:13 pm

Really good tips George. Although I don’t own thesis theme I always find a way to implement it on my blog (not all customization is possible, afterall in normal theme there is no hook facility). I am looking for the way to display all categories in site wide footer (it means if i have 3 column, my all 3 column should contain the category list). How can I achieve it? The main problem is with child, I ain’t able to display the child category properly (I want to have a same styling as parent. Ex shoutmeloud.com). Here is the screenshot of my upcoming theme (under construction) http://img81.imageshack.us/img81/2360/foottg.jpg (footer) http://img515.imageshack.us/img515/2690/tgnewlook.jpg (sidebar)
Let me know what do u think abt it? Your suggestions are always welcome.
Ricky ´s last blog ..Finest Collection Of Windows 7 Wallpaper [High Resolution] My ComLuv Profile

Reply

26 Fatos 13 Oct 09 at 12:26 am

Wonderfull tips on thesis theme (reason i subscribed), anyway, there is a tips for all bloggers and that is “use as much white space as possible”, i don’t know but white space makse blogs more appealing and if there are highlighted spots such as advertising and subscription boxes they get more easily found when they are with different colors.
Keep up the good work
Fatos´s last blog ..Te qeshim se na bene mire My ComLuv Profile

Reply

27 Garden Trees 20 Oct 09 at 3:01 am

How to relace all standard black color fonts to green font color in Thesis Theme for Wordpress? Thanks! ;)
Garden Trees´s last undefined ..If you register your site for free at My ComLuv Profile

Reply

28 Somone Bull 22 Oct 09 at 7:15 pm

Add this to your custom style sheet (custom.css):

body.custom {
color:#008000;
}

If you don’t like the shade of green, adjust accordingly.

Reply

29 Garden Trees 23 Oct 09 at 12:01 am

Thanks Somone! In which folder is it located custom.css?

Reply

30 Somone Bull 23 Oct 09 at 9:41 pm

/wp-content/themes/thesis/custom/custom.css

If you want to know how to change things on your site and try out different colours for example, try Firebug, a Firefox plugin. You can try green font for example of a certain colour and if you want to try something different just try another. You get to see realitime changes to your custom css changes without actually making permanent changes on your style sheet.

Reply

31 Garden Trees Nursery 23 Oct 09 at 9:50 pm

In my site there is a file called “/wp-content/themes/thesis_151/custom-sample/custom.css”.

There I added the following code:
body {
color:#008000;
}

The site continues showing fonts in black color :(
Garden Trees Nursery´s last undefined ..If you register your site for free at My ComLuv Profile

Reply

32 Somone Bull 24 Oct 09 at 5:01 pm

I just checked out your site http://www.macrobonsais.com/ and I can see green fonts. You might need to clear your cache. The green and blue look great for your site by the way.

Reply

33 Garden Trees Nursery 24 Oct 09 at 6:57 pm

It’s green because I “edit”ed the “page” from the admin panel, but I would like the complete site in green :(
Garden Trees Nursery´s last undefined ..If you register your site for free at My ComLuv Profile

Reply

34 Somone Bull 27 Oct 09 at 12:12 am

SOrry about that, forgot the .custom after body…try:

body.custom {
color:#008000;
}

.custom before Thesis default custom.css code will allow you to override it with your own preferences. Just go to the style.css file and copy the bits you want to change, paste in your custom.css file and add .custom before the ones you wish to keep and change. The body call is the exception, .custom comes afterwards. Terribly sorry not to have seen that earlier.

Reply

35 Rhea Brown 7 Nov 09 at 2:48 pm

I love and added the Search Box feature based on your article here but what I would like to to is:

1.) add the search box in the Navigation bar and not a sparate title area… my code is coming up “On Top” of my header image when I added it.

2.) I would like to add my Opt In form Next To My Header instead of having just an entire image (like this http://www.savvybusinessmom.com). I would like something like this but for thesis and without breaking anything.

thanks and I’ll be looking for a reply.

ProMomBlogger.com

Reply

36 Rajesh Kanuri @ TechCats 17 Nov 09 at 10:16 pm

Thanks for the useful tips.. started customizing my thesis…
Rajesh Kanuri @ TechCats´s last blog ..TechCats Host Provider “HostMonster” Review: It Rocks My ComLuv Profile

Reply

37 Somone Bull 18 Nov 09 at 6:04 am

Rajesh – congratulations on achieving your goal of your name appearing in google search suggestions. You’re site is coming along nicely.

Reply

38 Nguyen Dat Tai 26 Nov 09 at 11:04 am
39 Shubham 7 Dec 09 at 2:11 am

hey, there..!…loved it..!!…Thanks for sharing..!!
Shubham´s last blog ..Apple Tablet: Preview Video My ComLuv Profile

Reply

40 Malhar @ MyTFace 16 Jan 10 at 6:20 am

Good work! I have successfully deployed these changes on my blog.

Reply

41 Nasif 23 Jan 10 at 7:15 pm

Nicely written post.. Useful for a newbie like me…
Nasif´s last blog ..How To View Pdf Files Online My ComLuv Profile

Reply

42 Richard 5 Feb 10 at 1:54 am

I added the authors profile box.
Thanks it works great!
Two questions.
Is is possible to jsutify the author description?
How can I use the display name and not first and last?

Reply

43 Somone Bull 5 Feb 10 at 6:55 am

Richard, when you say ‘justify’ author description, do you mean centered, left or right? What display name do you want and how do you want it formatted. Is there a link to an example for me to see. I’ll respond with the code if you let me know what you would like.

Reply

44 Richard 5 Feb 10 at 6:59 am

Thanks.

This is the link:

http://www.njaneh.org/2010/02/03/photos-from-2010-annual-meeting/

I was hoping to justify the text so that it was even on both sides.

For some authors they have a middle initial.

I was trrying to capture that.

When I use the nickname it shows that.

Thanks.

Reply

45 Somone Bull 13 Feb 10 at 6:30 pm

Not a 100% sure what you would like. I’d flick George, the author of this post an email via his contact form and get his specialist advice. Copy and paste the text from the comment and see how you go.

Reply

46 Richard 7 Feb 10 at 3:07 am

One more question.
I have co-authors for some posts.
I am using the co-authors plus plugin.
I there a way to show the the authors profile box for both authors?

Reply

47 Somone Bull 13 Feb 10 at 6:23 pm

I had a quick Google, mostly over at WordPress codex and the plugins area. There does seem to be some fixes depending on exactly what it is you want to do. I’d visit some multi-author blogs like Matt Flies and ProBlogger and see how they work around it.

Reply

48 Asad 4 Mar 10 at 12:06 am

Thanx for the great tips.I am thinking from a long time which theme should i select for my new blog.I think thesis is best for customization.Love it.
Asad´s last blog ..Static Pages "Read more" problem solution in Blogger My ComLuv Profile

Reply

49 Somone Bull 4 Mar 10 at 8:22 am

Asad I just created a new site on the weekend – Middle Path Marketing.com – it’s customized using Thesis.

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>

CommentLuv Enabled

Previous post:

Next post: