I always try to improve the look and usability of how to make a blog. If you are a regular reader, you will notice small tweaks here and there. I have done several changes lately and today I will explain what exactly I did and how I did it.
These customizations are relevant to Thesis theme as that is the WordPress theme that I use on my WordPress blog. For even more Thesis Theme tips see my previous 6 Thesis design customization tips.
Modern looking top navigation menu
Thesis theme 1.6 has nav menu customization built-in
I’ve changed the look of the menu line on my Thesis. You would think it takes a lot of work to customize the menu line, but actually it is just couple of lines of code that need to be added to the custom.css file. This code resets the default menu line and creates a much better looking one:
.custom ul#tabs {border-bottom:none; border-left:none; background:#EEEEEE;}
.custom ul#tabs li {margin-bottom:0; border:none; background:none}
.custom ul#tabs li.current_page_item, .custom ul#tabs li.current-cat {padding-bottom:0; background:#FFFFFF}
.custom ul#tabs li.rss {}
.custom ul#tabs li a {}
.custom ul#tabs li a:hover {text-decoration:none; background:#FFFFFF}
.custom ul#tabs li.current_page_item a, .custom ul#tabs li.current-cat a {}
.custom ul#tabs li.current_page_item a:hover {text-decoration:none; background:#FFFFFF;}, .custom ul#tabs li.current-cat a:hover {text-decoration:none; background:#FFFFFF}
I only use white and gray on my menu but you may want to edit it to fit your blog colors. You just need to get html codes for different colors and insert them instead of the background color codes above.
New sidebar / content area background
Another simple change that can have drastic effect on the look of your blog is changing the sidebar and the content area background. The following code needs to be inserted in your custom.css file:
.custom #content_box {background-color:#EEEEEE;}
.custom #content {background-color:#fff;}
I use the default white background in the content area but have changed to gray background in the sidebar. Again get your preferred HTML color code and insert it in the code above.
New yellow box “Welcome” on the front page
To welcome new visitors, to explain them what the site is about and to inform them on how they can subscribe to my Thesis theme WordPress blog, I have now created a very visible note just before content on my front page. It looks like this:
Welcome to HowToMakeMyBlog. I am Marko Saric and I help bloggers succeed. Subscribe via RSS feed or email to receive my blogging tips!
To get this on your blog use the following code in your custom_functions.php:
function welcome_message() {
if(is_front_page())
echo '
<div class="format_text entry-content">
<div class="welcome_box">
<DIV ALIGN=CENTER><p class="alert">Welcome to YOUR TEXT</p></DIV>
</div>
</div>
';
}
add_action('thesis_hook_before_content', 'welcome_message');
And this code in your custom.css:
.custom div.welcome_box {
width: 90%;
padding: 0.571em 0.786em;
margin-left: 1em;
margin-right: 1em;
margin-bottom: 1em;
margin-top: 1em;
margin-bottom: 0em;
padding-bottom: 0em;
}
Change the color of article sub-headings
Another simple code, another simple change which makes the blog articles look better. Put this in your custom.css and change the color to what you prefer (you can also change article titles and other headings by changing h3 into h2, h1 etc):
.custom h3 {
color:#897E7C;
}
Remove “From the category archives” message
WordPress automatically displays “from the category archives” message on top of your blog categories. I removed that with a simple code in custom.css so the category pages look much cleaner now with Thesis theme teasers displaying only:
#archive_info {display:none;}
Seth Godin message without plugin
I’ve also included a “subscribe” message at the end of each article. I used to use What Would Seth Godin Do plugin for this but now I was able to replace the plugin with a piece of code in custom_function.php:
function seth_godin_stuff () {
if (is_single()) {
?>
<p><p class="alert" style="text-align:center;">Did you enjoy this article? Please subscribe to YOUR LINK to receive all the FREE updates!<p/>
<?php
}
}
add_action('thesis_hook_after_post', 'seth_godin_stuff', '1');
Tweet This / Stumble This without plugin
I’ve also added the Tweet This and Stumble This message at the end of each article without using a plugin. This is the code that needs to go into your custom_functions.php:
function add_social_media () {
if (is_single()) {
?>
<p><p style="text-align:justify;">Your message here <a rel="nofollow" href="http://twitter.com/home/?status=<?php the_title(); ?> - http://howtomakemyblog.com/?p=<?php the_ID(); ?>"><img src="IMAGE URL" alt="Tweet This" />&amp;nbsp;Tweet this</a> or&amp;nbsp;&amp;nbsp;<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=<?php the_permalink() ?>"><img src="IMAGE URL" alt="Stumble This" />&amp;nbsp;Stumble this</a> or <a rel="nofollow" href="http://del.icio.us/post?url=<?php the_permalink() ?>&amp;title=<?php urlencode(the_title()) ?>"><img src="IMAGE URL" alt="Delicious This" />&amp;nbsp;Delicious this</a></p>
<?php
}
}
add_action('thesis_hook_after_post', 'add_social_media', '2');
I’ve personally used these logos so you can download them and use them if you wish:
http://www.howtomakemyblog.com/pictures/tweet-this.png
http://www.howtomakemyblog.com/pictures/stumble-this.png
http://www.howtomakemyblog.com/pictures/delicious.gif
Decide in what position related posts should be shown
As “Seth Godin”, “Tweet This” and “Related Posts” are all shown at end of my articles I wanted to be able to select in which positions they show. This is “related post” plugin code you need to put in the custom_functions.php file:
function after_posts_stuff() {
if (is_single()) related_posts();
}
add_action('thesis_hook_after_post', 'after_posts_stuff', '3');
Notice this line in each of the three codes:
add_action('thesis_hook_after_post', 'after_posts_stuff', '3');
At the end of that line you have a number in brackets. That number decides the position. So I have “Seth Godin” as ’1′, Tweet This as ’2′ and Related Posts as ’3′. You can change the number to fit whatever positions you want.
Time for you to work on your blog…
Simple 8 changes that do not take much effort to implement but have many benefits:
- A great potential to improve your blog and the user experience
- By using less plugins your blog should run faster
- By including your subscribe option in a prominent position you should get more subscribers
- By asking for a tweet or a stumble you should get more exposure in social media
Hopefully this post has given you some ideas and inspiration on how Thesis theme can be used to improve your blog. If you want more tips then take a look at 6 additional Thesis customizations I have done on my WordPress blog. Now is the time for you to go, learn how to install WordPress and do some improvements on your blog!
Image by Addictive Picasso
Join thousands of bloggers and get all my blogging tips for FREE! Subscribe to HowToMakeMyBlog via RSS or via e-mail.

{ 112 comments… read them below or add one }
← Previous Comments
whoops! I never got the email that you had replied to this. Thanks for the response!
Actually, as it turns out, I think it's my *own* Safari settings. Turns out those same sites look fine on all my other browsers, as well as on Safari from some other machines. Sorry about the confusion…
Thesis provides hell a number of customizations and thesis tweakers do summable all that in human way, so that non-techies can learn.
Learnt a few things from the post and some more from the huge number of comments. Thanks for writing this post.
I think you must change your CSS for A hover background of trackback links
Yes, I surely need to and I just did. Thanks!
i want to make a blog for myself
They are too hard for,I do not know how to code.
Marko, I’ve got a couple questions for you regarding this…I’ve been able to get the welcome box onto my blog but it shows up on every page. I’d like to just limit it to the “home” page. I’m not much of a coder so I’m using Open Hook. I can send you the code I have if you need it.
Thanks
This part of my code decides to have it on the front page only:
if(is_front_page())Insert my complete code into the files as explained, you can do it directly in OpenHook, don’t need to login into ftp.
Hi Marko,
Thanks for this article. I’ve finally finished my design but I now want to start again and design something better!! It never stops, design just continues to change.
All the best
Dave
Yeah, I know what you mean. It is pretty easy to make changes in Thesis so that makes me change small things here and there regularly.
Excellent. I’ve all but given up on the Thesis theme. I now run it on two blogs, Solo-Dad.com and BarryMorris.net. Your tutorials are MUCH better than the help I’ve received on the Thesis Support Forums
Hello,
Very Nice Article and Informative for me,I am also a Thesis(1.5.1) user and I want to change link hover style just like you have,can you tell me how i can do this??
Thnaks,waiting for your response
Why dont you just add all bookmarks plugin?
Like i dont understand why to change core files when plugin can handle a lot of socials without any major changes in theme code.
Thank you so much for sharing Marko – I’ve learnt a lot from this post today and am really grateful for it.
Keep up the good work
Elaine
THANX for the great information here, very VERY helpful.
Hi
Thanks also for all, the other great advises. However, i was implementing this yello welcome box, it works, but when i used custom_function it was not loaded. I implemented it as open hook, before content, but hen it show up on all my pages. I am using a static page as “Home” page, and changed it to Is_Single, but still it shws up on all my four pages.
In advance thanks for help.
kind
/alf
You should use FTP (or the direct files you get via OpenHook) for this as if you just copy / paste the code into OpenHook hook field it will not work.
Thanks for the info I tried to add welcome box in my site but it is not working.. what should i do??
How u please tell me how do i change the advertise here boxes in the sidebar
I made the changes but when i try do change it again it shows the previous boxes only here is my code
CUSTOM VARIABLES
//
// defaults
if (get_option(‘tt_ad_one_img’)) {} else { add_option(‘tt_ad_one_img’, ‘ad1.gif’); }
if (get_option(‘tt_ad_two_img’)) {} else { add_option(‘tt_ad_two_img’, ‘ad2.gif’); }
if (get_option(‘tt_ad_three_img’)) {} else { add_option(‘tt_ad_three_img’, ‘ad3.gif’); }
if (get_option(‘tt_ad_four_img’)) {} else { add_option(‘tt_ad_four_img’, ‘ad4.gif’); }
if (get_option(‘tt_footer_opt’)) {} else { add_option(‘tt_footer_opt’, ‘false’); }
remove_action(‘tt_ad_one_url’, ‘http://YOURID.maverick66.hop.clickbank.net/’);
if (get_option(‘tt_ad_one_url’)) {} else { add_option(‘tt_ad_two_url’, ‘link for second image’); }
if (get_option(‘tt_ad_two_url’)) {} else { add_option(‘tt_ad_two_url’, ‘link for second image’); }
if (get_option(‘tt_ad_three_url’)) {} else { add_option(‘tt_ad_three_url’, ‘link for the third image’); }
if (get_option(‘tt_ad_four_url’)) {} else { add_option(‘tt_ad_four_url’, ‘link for the fourt image’); }
$tt_footer_removal = get_option(‘tt_footer_opt’);
$tt_twitter_username = get_option(‘tt_twitter_name’);
$tt_a1_img = get_option(‘tt_ad_one_img’);
$tt_a1_url = get_option(‘tt_ad_one_url’);
$tt_a2_img = get_option(‘tt_ad_two_img’);
$tt_a2_url = get_option(‘tt_ad_two_url’);
$tt_a3_img = get_option(‘tt_ad_three_img’);
$tt_a3_url = get_option(‘tt_ad_three_url’);
$tt_a4_img = get_option(‘tt_ad_four_img’);
$tt_a4_url = get_option(‘tt_ad_four_url’);
//
// END OF CUSTOM VARIABLES
//
Thanks a lot, It really helped me out!
Marco,
I have been following your blog since I purchased Thesis 1.6 and as you know there are a lot of sites offering free thesis tutorials, but out of all the sites I have looked at yours is the most comprehensive and user friendly. Your blog is a prime example of how to become an authority in your niche because you offer educational content that people need.
I have used most of your tips and the code has always proven solid, and one of the things I love about how you post your scripts is the view source icon and the print icon you have in the upper right corner. I would love to know how you do that.
Thanks for the kind words Gary. I use a plugin called SyntaxHighlighter Plus for that.
Marco thanks for the quick reply
Thanks for the tips!
How to change colour of yellow box “Welcome” on the front page?
Great tips! I’ve been using Thesis for a year now, but I haven’t done too many major customizations. I was helping my friend switch to Thesis over the holiday weekend, and her Thesis tweaks make me want to think about how to better utilize all of the customization possibilities that Thesis allows! It really is an amazingly flexible theme.
Thanks Marko. Just what I needed. I’m setting up a new blog and these customisations have given it a much more professional look.
Hi Marco,
I have tried adding code in custom.css for Navigation bar in thesis 1.6 theme but navigation bar remain unchanged.
am i missing anything ? can some one help. Here is the code i have added:
.custom ul#tabs {border-bottom:none; border-left:none; background:#198DC9;}
.custom ul#tabs li {margin-bottom:0; border:none; background:none}
.custom ul#tabs li.current_page_item, .custom ul#tabs li.current-cat {padding-bottom:0; background:#FFFFFF}
.custom ul#tabs li.rss {}
.custom ul#tabs li a {}
.custom ul#tabs li a:hover {text-decoration:none; background:#FFFFFF}
.custom ul#tabs li.current_page_item a, .custom ul#tabs li.current-cat a {}
.custom ul#tabs li.current_page_item a:hover {text-decoration:none; background:#FFFFFF;}, .custom ul#tabs li.current-cat a:hover {text-decoration:none; background:#FFFFFF}
Thesis 1.6 has changed the nav menu. You can now do a lot of stuff via the interface itself but you can see the updated code here.
Thanks Marco.
I was looking for how to fill the Navigation bar to cover the entire page width with same background color. Currently background color is half filled and rest of the place is showing as blank , merged with white background.
I am not sure how can i do this, i have only two categories so navigation bar background color is only showing up 20%
Thanks for your help in removing “From the category archives.” However, it also removed my category name. I would like to include the category Title as the Heading. How can I do this?
Does any one know how to change body background using image in Thesis theme. I have tried this :
body.custom {background: #D9D9D9 url(‘http://mysitecom/woodchips.jpg’) 50% 50% repeat; background-attachment: fixed;}
.custom #container { margin-top: 2em; margin-bottom: 2em; }
.custom #page { background: #fff; }
but image is not showing up .
use mine,
put anywhere in your custom.css
/* Dana’s background- image */
body {
background-image: url(http://yours.net/wp-content/uploads/2010/01/bla-bla.png);
background-attachment: fixed;
background-position: top left;
background-repeat: no-repeat
}
or you can use
/* Dana’s background- image */
body.custom {
background: #8db6b6 url(‘images/bg-ocean.jpg’) 50% 0 no-repeat;
}
hope it works, also try to put the image path correctly!
Thanks a lot for helping out!
Hi:
Your code: #archive_info {display:none;}
Can this be configured so it displays the category name without the “From the archives” line?
Thanks if you can help!
thank you marko for the wonderful article. this what I am looking for. thanks again.
rgds
vj
Mark,
I implemented your welcome code on my site and happened to look at a http://validator.w3.org. It did not like the div align center. Did I do something wrong?
I want to use the welocme box but cannot figure out where to place the welcome message.
Can you help a novice?
← Previous Comments