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.
If you liked this article, you may also like:
Why I run my blog on Thesis Wordpress Theme
Thesis theme gives my blog a professional, clean, easy-to-read layout and SEO friendly design. Thesis makes it simple to make your own blog unique. See more details and get your own Thesis today.
{ 116 comments }
Next Comments →
Another excellent post, Marko.
I appreciate you making these tips available for free. I’m new to Thesis, and I just set my site up this week. It’s a lot of fun tweaking, and I’ll be implementing many of your suggestions on next week.
Thanks again!
@Willie Jackson – Sounds good, all the best with your new Thesis blog!
@Alex – It clashed a bit with the new background so I removed it. I might tweak stuff again soon and get it back, you never know.
@Baz – Thanks for the nice words!
@Bart – As @Matt Langford said, you can just add it all to my code. Email this, digg this or whatever else you wish. They will then all line up as Tweet This and Stumble Upon are now.
Change the color of article sub-headings??
hi,
i wanna know how to change my article title or post title from default black to what color i want..i try your code above and chage the color and also the h1,h2,h3..but when im refresh..there’s is no change made..
then, your welcome yellow box…im thinking to put in each post below content..how is the code?? and make it center as well!!
btw, since i use thesis, your page are now my homepage!hehe there’s a lot of thesis tutorial here!!
thank you
Nice, thanks for the nice words! I will have a new article with Thesis design tips during this week so please do subscribe and keep an eye out for that. The stuff you are asking for will be there.
ok..already subscribe via email!
love your page and the best part is your header..its very eye-catchy.
let me know if the tutorial is there when its publish..im waiting a with a mountain of hope!!
best regards,
MALAYSIA
hi Marko,
its me again in your comment section, another again! haha
sorry to ask about your:
Seth Godin message without plugin
my question is every time i added the code, when i save it, i got an error message! btw, haha..im proud because i could put your welcome message there..but this time i enclose my custom_function.php for your review..
hope you could show me which line or what need to be added to to make that work out!
Thank you Marko, you will be my first visitor when my web is officially publish!
_____________________________________________________________
<a href="”><img src="http://mydomain.com/blog/wp-content/uploads/2009/09/header.jpg" alt="” title=”"/>
<?php
}
function welcome_message() {
if(is_front_page())
echo '
To welcome new visitors, to explain them what the site is about and to
inform them on how they can subscribe to my blog, I have now created a
very visible note!
‘;
}
add_action(‘thesis_hook_before_content’, ‘welcome_message’);
// Using hooks is absolutely the smartest, most bulletproof way to implement things like plugins,
// custom design elements, and ads. You can add your hook calls below, and they should take the
// following form:
hai Marko,
pertaining to your Welcome Box above..how could possible if i want to put it in every pages??
i want to put my ads in .gif format in different pages with different ads but at the same position like Welcome Box(before post). So if visitor click on [About] pages there will see different welcome ads, click another pages will see different ads and so on…how to do this??
thank you!
Ok, Marko,
i got it! no need to reply. Thank you!
Awesome post Marko, I just published a post on my blog with some of the Thesis customizations I did on it too.
I do agree with you on coloring the sidebar. I like what you did with it, but I kind of miss the blue box around the Popular Posts. Any chance of that coming back, or did it clash with the new background color?
Marko,
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.
Baz
Thanks a lot, Marko! I appreciate you putting in all the hard work for the rest of us!
Marco;
Love your blog. And I do appreciate your sharing the insiders stuff about Thesis. I am a tweek junkie, can’t help myself. BTW, one of the key things I have been looking for is the code on how to line up/order the applets tweet this, email, etc after the post.
I have sharethis, but it comes on a separate line. I would like to place it on the same line, or better yet, have an after post image or shaded box that has the call to actions including Comment, Subscribe, E-Mail, Print etc. Any idea where I can find that kind of stuff?
@Bart,
Instead of using the plugin you care currently using, you can add any amount of links to the code Marko provided above with Tweet/Stumble. Use Google to find the appropriate links for Facebook/Email/Print/Digg/etc…
Then, surround all of that code with a ‘div’ and style it in custom.css!
That’s exactly what I did on my site. Took Marko’s code, added some of my own, and styled it with CSS!
Great tips – bookmarked for future digestion. Appreciate it!
James
Hi Marko,
Thanks for the tips. I use the SimpleX theme for my blog. I’m really happy with it except for the header and I don’t know if there’s anything I can do to change it. I would ideally like to add my logo to replace the standard plain text. Am happy to switch themes (that allow for customised headers) but I’m afraid to drastically alter the look-and-feel of my blog, and I’m not sure if the plug-ins I use now will work properly with a new theme. I would greatly appreciate your thoughts on this. Thank you.
Best regards,
Keith
@Keith – Majority of themes is fine with all the WordPress plugins so I wouldn’t worry too much about that. I would recommend looking into your theme files and trying to see if you can manually insert a header image via header.php in Appearance – Edit. See more details on this in WordPress header help.
@all or et.al.
Thank you for the tips. I am learning more about the coding by doing. I have 3 blogs and 2 websites. Tow of the websites have attached blogs, but I am now considering replacing the sites content by making the blogs the CMS. I see this as a way to make it easier to update all sites and thus drive more traffic to all sites. I have a few other basic things to learn though, such as how to make the Home Page a Home Page. Or maybe it is already. I placed the codes into my Thesis for the Welcome block but it didn’t show up, so I am assuming Home is not really a page.
But, I am learning and having fun doing it.
Thanks again.
@Matt – I sat and watched your videos for a looooong time last night. Very cool stuff.
@Bart – Hmm not sure what the problem may be. You have put codes in both custom.css and customfunctions files? Make sure to copy them correctly from my post (for example do not include the line numbers 1,2,3,4 etc). Click on the first of the three buttons on the right-hand side of the code to view the source code.
@ Marco;
Yup, I copied and pasted from your ‘view source’ applet, so it is stripped and clean. The css code I copied and pasted into notepad then re-copied and pasted into the custom.css file.
I do have my Reading>Settings>Front Page Displays set to ‘your latest posts’.
Thanks for working on this.
Off to go sailing for a couple of hours.
@Bart – Those settings should be fine. Also I just tested the code and it works fine so it has to be some small detail but as I cannot see your files it is hard to know what.
@Bart – One reason or another couple of characters went missing from my copy / paste. It should have been fixed now, so please try out the new code I have in the post now. Thanks.
More great Thesis information. Thanks Marko. I’ve got this bookmarked and will probably be tweaking some design elements tonight.
@Bart – Haha, thanks for the views! The videos are mostly born out of pure boredom! Hopefully you get your blogs setup and working correctly soon.
@Marko – As you can tell from my blog, I’ve used many of your tips over time. I decided to write my own post on customizing thesis, including some customizations I made to code you supplied (with a shout out to you, of course). For anyone reading this, Marko knows what he’s talking about and he’s always willing to help!
Marko,
Thanks a ton!
Really helpful walk through. I was able to implement some of the suggestions, except for the “welcome new visitors before content box function and the Seth Godin function. Strangely, it had the visitor function working- I saw it but somehow I jacked it up? I posted something in the forum about it so we’ll see if anyone can help. Thanks again man,
-Mig
@Miguel Wickert – Thanks! I have now inserted the full Seth Godin code so it should be working now. Check the new code in the post above please.
Thanks man, everything is smooth sailing with that function but I need help with yellow welcome box function.
-Mig
Hi Marko,
No worries, thanks for all your help. I got it.
Cheers!
-Mig
What if you wanted to put the alert box on a different page instead of the front page. How would you do that?
@Rowell – You would need to replace this line with another one:
if(is_front_page())It is called conditional tag and it decides which post/page you want it displayed on. Mine is for front page only as you can see. A list of all the possibilities you can find in WordPress help here.
Thanks. Really useful post.
One question. How do you get the grey background on your sidebar?
Ignore last comment. I’ve just seen you’ve answered it!
Ah! All better now! Thank you. Now I am off to tweek some more. I have been working on my navbar, etc. I still cannot find the code to how to change the navbar text color, but I will get there!
Thanks again, Marco!
Thanks Marko. That helped a lot on my photography blog.
@Marko – Wow, making more changes! I like the heading background thing and the blue in your nav menu. I may do something similar to my headers too. I see you added some fancy content borders too. Having a little fun?
Wow! What a wealth of information here regarding Thesis. And other great blog tips, as well. I’m new to blogging and Thesis and I’m not a programmer either, but I’m having a ball learning. The only problem I see is that I can seem to get to the blogging part because I keep finding finding jewels of content such as yours. I started out reading a simple email from Clickbank which brought me to the new WP Hopad plugin which lead me to Digg it, then found another Digg post from a fellow who recommended your blog. Now that I’m here, I’m never going to leave!
Oh, I do have 1 question I’d like to ask you… Do you have a code in order to create a drop down menu in the navigation bar across the top for my Thesis website/blog?
Thanks
Thanks
@MirzaLou – Thanks for the nice words. I’ve been looking at drop down menus as well, but decided not to go for it because there seems to be several displaying problems with them in different browsers. But link @Francis sent you, should help you out set them up.
Awesome… Many Thanks!
Marko:
Thanks for your great post on Thesis design tips! Small changes for big design impact! I’m new to Thesis, and appreciate finding people like you, @kristarella, and others on the Thesis forums.
@Shay West – Thanks for the nice words. “Small changes for big design impact” could have been the title of the post hehe
OK, it’s me! For some odd reason, none of the code entered into my CSS file is showing. I’m using Open Hook. Any ideas to help a thoroughly befuddled Thesis user?
Cheers.
Back again. In one of those odd quirks that often happens (the blog gods laughing maybe?) all appears to be well again. Code entered into the CSS style sheet is appearing correctly.
Great article Marko. I’m not using Thesis on my current site but I plan to as soon as I get a new domain, but I am running a few WP/Thesis sites at work and thinking of doing a few more…. that way I’ll get more experience messing things up! Tried out 3 of your suggestions and they all work great. I’ll be poking around some more.
Cheers,
Rick
Marko-
How did you change the alert box from yellow to orange? All in css file or did you create a special welcome box? I’m trying to change mine to be more a yellowish/orange to compliment some of the colors in my logo. Thanks for all your tips!
Jeff Rose – I didn’t use “alerts”, I created my own box by inserting this in custom.css:
.custom .format_text p.orangebox { padding: 0.571em 0.786em; background: #F88017; border: 1px solid #ccc; }And then used “orangebox” instead of “alert” in custom functions to mark the text to put into the box.
I was able to create a box after posts that focus people on a call to action. It is currently orange, but here’s the deal – it is a 10px X 10px .jpg file set as the background. The reason I have this as an image is that eventually I will want a custom image there, which will act as the backdrop for all of my ‘calls to action’ such as Tweet this, De.Li.cious, RSS Feeds, etc. I even have the code in it to call and dsiplay the email from my blog settings, but it is not a live link, so should be un-noticed by spam-bots.
Here’s my code – I know this works and I know someone else may say there are codes that may not belong in here, but, it works for me for now.
If someone has a suggestion as to how to make this better, I am all eyes!
[CODE]
<div id=”layer1″ style=”width:100%; height:150px; z-index:-1;
background-image:url(‘http://www.maverickbusinessadvisors.com/wordpress/wp-content/themes/thesis-15/custom/images/orange-box.jpg’); align=”center”; ”
My email is
You will have to paste it into your email.
[/CODE]
For some reason the code got cut off in the last reply:
Here it is again, but if it doesn’t come out, email me – bart at bluecollaru.com
<div id=”layer1″ style=”width:100%; height:150px; z-index:-1;
background-image:url(‘http://www.maverickbusinessadvisors.com/wordpress/wp-content/themes/thesis-15/custom/images/orange-box.jpg’); align=”center”; ”
My email is
You will have to paste it into your email.
Next Comments →