Welcome to Cutline Plus!

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

30 Jun 09

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. How to Install and Customize a Thesis Site in a Weekend (Part 4)
  2. Making Changes to the Thesis Navigation Menu
  3. Free HTML and CSS for a Table Within a Post or Page
  4. P&O Cruise Ship Blogs Powered by Thesis Theme
  5. 4 Nifty Code Snippets to Trick Out Your Thesis Theme
George Serradinho June 30, 2009

Hi Somone,

Thanks for giving me the chance to guest post on your site, appreciate it :)
[rq=85679,0,blog][/rq]3 FREE eBook downloads 29/06

Reply

Harsh Agrawal August 15, 2009

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

Reply

aviationMY January 5, 2010

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

Somone Bull January 6, 2010

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

Somone June 30, 2009

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.
[rq=87039,1,blog][/rq]Blogging Down Under With The Thesis Theme

Reply

Mr GM July 1, 2009

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

thanks a lot Sergio
[rq=102394,0,blog][/rq]Hasil Bedah Siasat Micheal Jackson

Reply

Salt Lake City Movers July 2, 2009

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

George Serradinho July 3, 2009

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.
[rq=113818,0,blog][/rq]Another Award for Me – Freindship Chain

Reply

B. Durant July 12, 2009

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

Somone Bull July 12, 2009

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

DJ Mixing Tips July 18, 2009

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

George Serradinho July 27, 2009

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

Matt July 27, 2009

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

Reply

Sampson August 5, 2009

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

Toan Nguyen Minh August 6, 2009

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

via August 17, 2009

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

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

Reply

Akmal Wardak August 21, 2009

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

Somone Bull August 24, 2009

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

Chris August 27, 2009

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

Somone Bull August 27, 2009

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

Toki Tover September 7, 2009

Hey there,

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

Thanks.

Reply

Toki Tover September 8, 2009

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

Somone Bull September 8, 2009

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

Mathdelane October 1, 2009

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

Ricky October 12, 2009

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

Fatos October 13, 2009

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

Garden Trees October 20, 2009

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

Somone Bull October 22, 2009

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

Garden Trees October 23, 2009

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

Reply

Somone Bull October 23, 2009

/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

Garden Trees Nursery October 23, 2009

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

Somone Bull October 24, 2009

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

Garden Trees Nursery October 24, 2009

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

Somone Bull October 27, 2009

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

Rhea Brown November 7, 2009

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

Rajesh Kanuri @ TechCats November 17, 2009

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

Somone Bull November 18, 2009

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

Reply

Nguyen Dat Tai November 26, 2009
Shubham December 7, 2009

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

Reply

Malhar @ MyTFace January 16, 2010

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

Reply

Nasif January 23, 2010

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

Reply

Richard February 5, 2010

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

Somone Bull February 5, 2010

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

Richard February 5, 2010

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

Somone Bull February 13, 2010

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

Richard February 7, 2010

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

Somone Bull February 13, 2010

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

Asad March 4, 2010

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

Somone Bull March 4, 2010

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

Reply

John March 31, 2010

Thanks for the tutorial, it’s been really informative.
John´s last blog ..Taking Amazing Earth Photos From Space at $750 My ComLuv Profile

Reply

Patrick April 22, 2010

Thanks for the great tips! :)

I purchased Thesis yesterday, and have been playing around with it.. it’s a great framework, but the tips and help from so many people like make it even more valuable ;)

Peace

Reply

Shamim April 25, 2010

I tried to applied the “Add the Author Profile Box” tricks but it’s not working. What happened???
Shamim´s last blog ..Video – Add a clickable banner in Thesis Theme Header My ComLuv Profile

Reply

Somone Bull May 8, 2010

Check out my post on customizing a Thesis site in a weekend.

Reply

Mr SEO April 25, 2010

Sometimes I see the Header is showing some browsers and in some browsers header is absent. What is the solution??
Mr SEO´s last blog ..How to Select Correct Keywords For a Blog Post? My ComLuv Profile

Reply

Somone Bull May 8, 2010

Have a look at Shamims video above. It depends what code you are using and what browsers. Your image may be too large (size of file or actual size) or it could be a coding issue.

Reply

Bill May 23, 2010

What I’m trying to do is alternate background colors on sidebar headers. See artofblog.com for an example. Looks like I would need to do some custom coding.

Reply

Car Dealer Blogs May 24, 2010

I like the author box below the post. I’m also looking to find ways to incorporate ecommerce into a Thesis theme if you have any suggestions that’d be great!

Thanks!
Car Dealer Blogs´s last blog ..Why Dealership Blogs Shouldn’t Be In Your Dealership Website My ComLuv Profile

Reply

fareed May 28, 2010

well, i like thesis ad box, thank for your great tutorials
fareed´s last blog ..How to Use RSS to Generate Tons of Traffic to Your Blog My ComLuv Profile

Reply

tangologix June 10, 2010

nice written . well informative article. i saw it operation on theappsplanet site too . nice written info man. thanks for posting.

Reply

Nasrul Hanis June 23, 2010

Nice and useful tips!

Thanks a lot, pal. And keep up the good job! :D

Reply

last minute hotel UK July 1, 2010

Splendid! I am really glad I found your post, George! Thank you for the walk throughs – I’ve had quite difficult time recently trying to customize a theme I got from my designer friend. I actually prefer the thesis theme now. Is it completely free to install it on my WP?

Reply

Mobile Phone Reviews July 17, 2010

The tips mentioned in the blog is very helpful for the designers.

Reply

jeraida barcelona July 24, 2010

Nice post! I learned a lot from this. I am currently doing my thesis for the finals and will do this to make it artistic and presentable.

Reply

See-Yeo July 24, 2010

Hi, how to put track back after comment??

Reply

Bhanu Chawla August 2, 2010

Awesome post! :D

Reply

Career Outlook August 17, 2010

Great post, I have recently bought the thesis after hearing so many good reviews about it but after installing it, I found that it is very difficult to customise it. Thanks for this tutorial, it will going to be very helpful :)

Reply

Leave a Comment

If you’d like a picture (thumbnail image) to show up by your name, get a Gravatar.

CommentLuv Enabled

Previous post:

Next post: