The steps I took to customise my Thesis theme

by Melvin Neo on June 7, 2009

Thesis Theme

If you’re using the Thesis theme and are not doing any customisation to it, you’re not doing any justice to the immense flexibility of the theme! In fact, I think you’re simply wasting your money. Granted, I know not everyone of us is as tech savvy, but at least do something to it so that your theme doesn’t look like one of those free themes!

To help you guys kick-off some customisation juice in you, I’ll show you step by step what I did to customise my theme to make it look like the current one:

1. Install the plugin, “Thesis Open Hook

When you install it, not only the “Thesis Open Hook” plugin will be installed, the plugins “Thesis Custom Styling” and “Thesis Custom Programming” will be installed too. You need the latter two to do the changes I mention below.

2. Add a pinstriped image to the background

Open up the ‘custom.css’ file by clicking on the link, “Appearance” followed by, “Thesis Custom Styling”. Find the last immediate empty space and key in or copy and paste the following CSS codes:

/* Body and Background */
body.custom {
background: #ffffff none scroll right top;
background-image:url(i/bg.png);
background-repeat:repeat-x;
}

Note that ‘i’ is the folder where I put the ‘bg.png’ file. You do not have to name your background file, ‘bg.png’. Just name it anything you like and make sure you change the codes accordingly.

Click on the “Save Settings” button to save your file.

*3. Add a custom header image to your blog

Open up the ‘custom.css’ file by clicking on the link, “Appearance” followed by, “Thesis Custom Styling”. Find the last immediate empty space and key in or copy and paste the following CSS codes:

/* Header Image */
.custom #header #logo a { display: block; height: 180px; width: 915px; background: url(i/melvin-header.jpg) no-repeat; outline: none; }
.custom #header #logo, .custom #header #tagline { text-indent: -9999px; }
.custom #header #tagline { height: 0; }
.custom #header {border-bottom:none; padding:0}
.custom #header { padding: 0;
}

Note that the width of the image is dependent on the column and sidebar sizes you’ve selected. And ‘i’ is the folder where I place my ‘melvin-header.jpg’ file. Again, the header file can be any name. Just make sure you change the codes accordingly.

Click on the “Save Settings” button to save your file.

4. Add 2 borders – 1 dark grey and a ligher shade of grey

Open up the ‘custom.css’ file by clicking on the link, “Appearance” followed by, “Thesis Custom Styling”. Find the last immediate empty space and key in the following CSS codes:

/* Content Container */
.custom #container {
margin-top: 1em;
margin-bottom: 1em;
padding: 0.6em;
background: #333333;
border: 0.3em solid #565656;
}

#333333 will output the dark grey and #565656 the lighter shade of grey border.

Click on the “Save Settings” button to save your file

5. Bring the header image above the navigation menus

Open up the ‘custom_functions.php’ file by clicking on the link, “Appearance” followed by, “Thesis Custom Programming”. Find the last immediate empty space and key in or copy & paste the following codes:

//Move Header Up
remove_action(‘thesis_hook_before_header’, ‘thesis_nav_menu’); add_action(‘thesis_hook_after_header’, ‘thesis_nav_menu’);

Click on the “Save Settings” button to save your file.

*6. Apply different colour codes to the navigation menu

Open up the ‘custom.css’ file by clicking on the link, “Appearance” followed by, “Thesis Custom Styling”. Find the last immediate empty space and key in or copy & paste the following CSS codes:

/* Custom Navibar */
.custom ul#tabs {border-bottom:none; border-left:none; background:#333333;}
.custom ul#tabs li {margin-bottom:0; border:none; background:none;}
.custom ul#tabs li.current_page_item a {
color: #fff;
background-color: #333;
font-style:italic;
background-image: none;
}
.custom ul#tabs li.page-item-1 a {
background-color: #304860;
color: white;
}
.custom ul#tabs li.page-item-2 a {
background-color: #4890C0;
color: white;
}
.custom ul#tabs li.rss a { padding-right: 23px;
background: url(i/icon-rss.gif) no-repeat 97% 50%;
color: white;
}
.custom #tabs li a {
color: black;
text-decoration: none;
margin: 0;
padding: 7px 15px;
background: #EBF7FF none repeat-x;
}
.custom ul#tabs li a:hover {
background-color: #333333;
color: white;
text-decoration: none;
background-image: none;
}
.custom ul#tabs li.page_item a:hover {
background-color: #333333;
background-image: none;
}
.custom ul#tabs li.rss a:hover {
background-color: #91918f;
text-decoration: underline;
background: url(i/icon-rss.gif) no-repeat 97% 50%;
}

Click on the “Save Settings” button to save your file.

Note that ‘i’ is the folder where I put the ‘icon-rss.gif’ file. Currently, I only have “Home”, “What About Melvin” and “Contact Melvin” links, therefore, the codes stop at 2. If you want to add more just change the following:

.custom ul#tabs li.page-item-3 a {
background-color: #4890C0;
color: white;
}

‘3′ being the next page menu and ‘4890C0′ being another colour code. Note that 4890C0 is the same as item-2. Therefore, it’s good that you change it to another one.

Have fun customising your Thesis theme! This is not brain surgery. Nobody will die when you make a mistake. :)

Best regards
Melvin Neo

* The ideas for Step 3 were taken from  www.howtomakemyblog.com and Step 6 from www.berchman.com

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • LinkedIn
  • Live
  • StumbleUpon
  • Yahoo! Bookmarks
  • email
  • MySpace
  • Technorati
  • Twitter

Did you enjoy this article? Please subscribe to my feed either RSS Feed or Email to receive all the FREE updates!

{ 2 trackbacks }

List of Wordpress Thesis Theme Tutorials, Tips and Hacks - EzyBlogger
July 17, 2009 at 11:13 pm
List of Wordpress Thesis Theme Tutorials, Tips and Hacks | Choose 4 Me
August 1, 2009 at 9:31 am

{ 43 comments… read them below or add one }

1 Kurt June 6, 2010 at 1:15 pm

@Ben You can use a wp plugin to disable link on parent page links. Try this: http://wordpress.org/extend/plugins/page-lists-plus/

2 Melvin Neo February 25, 2010 at 7:52 am

Gee… I don’t know how to go about it. What I do is type something in that page (in your case, the Products page) that leads to the links of the sub-menu items.

Sorry, can’t help you in this area.

3 Ben February 25, 2010 at 3:28 am

How would I make a menu item unclickable? Let’s say my menu structure is like this:
products
– red
– greeen
– blue
I don’t want anyone to be able to click on products — just hover over it and then click on the sub-items. Any idea how to do that?

4 Melvin Neo November 10, 2009 at 8:10 am

Hey Josh!

I don’t think it will do. And I’m not sure how to have a post just show on the first page. I believe there are ways to do it. But my knowledge is limited. My apologies.

Regards,
Melvin Neo

5 Josh November 9, 2009 at 5:55 pm

Hi Melvin,
I am trying to place a hook just on my home page in the thesis_hook_before_content of the open hook plugin. What would I input, to get (my post) on just my first page?
THanks,
Josh

6 Melvin Neo September 24, 2009 at 6:32 am

Hey David,

It looks ok on my end. I tried it on Firefox and Safari on my Mac. Are you looking at the old cached files? Try press “Ctrl-F5″ (or Command-R if you’re using a Mac) to force a clean refresh and see if it changes.

Regards,
Melvin Neo

7 David Carreno September 24, 2009 at 3:26 am

Hello Mr. Melvin I took your code as a template for a header but I get a white space on the right hand side of the bar, it doesn’t matter how many pixels I make the header image it leaves that white space there

Any suggestions on how to correcnt it?

8 David Carreno September 23, 2009 at 3:54 am

HAHAHA, Never mind I found them they are RIGGGHT THERE!
Funny how some things can be right in front of you and not see them

=)

9 David Carreno September 23, 2009 at 3:52 am

Hello Mr. Melvin, let me first tell you that I have been searching for many days a simple comprehensive tutorial for none programmers like this one, you are doing an amazing job at teaching us newbies some simple ways to improve and customize our pages.

This is absolutely fantastic.

There is only one problem and it is BIG I see no tweet this, or dig, I would love to tweet and digg you’re site since it is so helpful.

Thanks again,

PS: I will send you a follow on twitter, and FB =)

Share the luv;)

10 Emily Robbins: SEO, Blogging, and Domain Diva September 3, 2009 at 12:32 am

Thanks for the fast response, Melvin!

That did the trick.

Much appreciated!

11 Melvin Neo September 2, 2009 at 7:52 am

Hey Emily,

Thanks for the compliments!

To add a thin black border around my header image, this is what I’ll do to my CSS code:

Go to point 3 of this post and look for the code “outline: none“; and just change the “none” to “thin“. Therefore it should look like this after the change: background: url(i/melvin-header.jpg) no-repeat; outline: thin; }

Hope it helps.

12 Emily Robbins: SEO, Blogging, and Domain Diva September 2, 2009 at 1:14 am

Hi Melvin,

Great post!! With regards to Paul’s question about not having the rotating headers on the home page, I *think* there is another way to go about it where he wouldn’t have to continually add the code to the sidebar on other pages, although I haven’t tried it myself (yet):

I am assuming he’s using a static front page (that’s the only way this method would work). He can create a custom template just for the home page, and that when editing that page, on the right hand side in the attributes, there is a drop-down box for ‘Template’ – and then instead of using the default he would choose his custom template. There must be a way to create a custom template that removes the multimedia box for just pages that use that template.. Sorry it’s not more specific, but hope it helps (I’ve only just started reading up on custom templates in thesis or I’d give you more details)

I’ve got a client who wants a thin black border around their header – any idea what custom css I should use to do that?

Thanks,
Emily from How to Blog

13 Melvin Neo August 7, 2009 at 12:33 pm

To NOT show the multimedia box on the home page, follow the instructions here

And to show it in other pages, I believe you have to do it manually each time you create a new post/page. I haven’t done it before. But I think the instructions below can help:

  • When you create or edit a post/page, scroll down until you can see “Multimedia Box Options”
  • Then click on “[+] more info” and follow the instructions on how to add image/video to that particular post.

Have fun exploring! And if it works, I’d appreciate if you could let us know so that others may benefit from it.

Thanks,
Melvin Neo

14 Paul Rudzeski August 7, 2009 at 11:58 am

Could you please let me know how you can choose not to show the multimedia box on the home page alone. I WANT IT TO APPEAR ON ALL THE PAGES APART FROM THE FRONT PAGE

15 Melvin Neo August 6, 2009 at 1:26 pm

Hey,

You’re most welcome! I’m glad you find it helpful. :)

16 nadz August 6, 2009 at 11:41 am

Hi Mr. Melvin thanks for this wonderful and straight to the poin tutorial specifically the adding the custom header tutorial,it really helped me.Unlike other tutorial which all they do is to promote there blog rather than help people.I have been searching for this information in 4days now and been so much frustrated in adn not seeing any result.That is why I am writing this comment as of the moment to show my appreciation.Thanks Mr. Melvin

17 Lana August 2, 2009 at 6:48 am

Thanks so much! I had almost worked this out. I found that I also had to add some em spacing to the right and left margins in order for the image to show up there.

18 Melvin Neo August 2, 2009 at 6:42 am

Hey Lana,

Just type the below will do:

  • background-repeat:repeat;
19 Lana August 2, 2009 at 5:14 am

I have a small image (40 x 40 pixels) that I want to use to completely fill the background of my page. I can get it to repeat horz or vert but I cannot get it to repeat both ways. Can you help with the custom css code for that?

20 Melvin Neo July 18, 2009 at 9:50 am

Hey Keegan,

Here’s what you must do to create search engine friendly URLs:

  1. At the Dashborad, click on “Settings”;
  2. Then followed by “Permalinks”;
  3. Under the “Common settings”, check “Custom Structure” and key in *accordingly; and
  4. Click on the “Save Changes” button.

*As for me, I keyed in /%category%/%postname%/

Have fun!

Shalom,
Melvin Neo

21 Keegan Hurd July 18, 2009 at 9:48 am

Hi Melvin,

I was hoping you could help me customize my thesis urls structures. I’ve searched for an answer, and the closest I’ve come is to your site… since you have accomplished this.

I’m creating a website using thesis theme, but I don’t want it to look like a blog.

Essentially, I want to create urls like this.

http://www.example.com
http://www.example.com/about-us
http://www.example.com/products
http://www.example.com/products/specific-product

I just want to control the urls, rather than have “/?page_id=27″ at the end.

How did you do this?

Thank you in advance for your time.

Your brother in Christ,
Keegan Hurd

22 Melvin Neo July 17, 2009 at 6:31 am

Hey Gary,

I can see the header banner and 1 image right on top of the right side bar. What image are you referring to? Would you like to elaborate?

Regards,
Melvin Neo

23 George July 17, 2009 at 1:27 am

Opps.. I forgot to say I appreciate your the quick reply Mr. Neo..

Thanks again!

24 George July 17, 2009 at 1:23 am

Hello Mr. Melvin!

Thank you very much… I now know how to do the things I wanted to..

Your site is really useful…Your such a guru!

Have a nice day…

25 Gary D. Goodwin July 17, 2009 at 12:02 am

Melvin,
thanx for your help! I am still having difficulty like george was. I have the image, i believe in the right folder, but still no image. Can you give me some pointers?
thank you!

26 Melvin Neo July 16, 2009 at 8:17 pm

Hey George,

To NOT show the Image Rotator, do this:

  1. Click on “Appearance”;
  2. Followed by “Design Options”; and
  3. Under the “Multimedia Box”, select, “Do not show box”

That’s all to it. Have fun with your Thesis theme! :)

27 George July 16, 2009 at 8:14 pm

Hello there Mr.Melvin!

First of all I salute you for the very useful tutorials..

I am from the Philippines..

I can see that you did not include the “IMAGE ROTATOR” (one in the uppermost in sidebar) in your web site..

Would it be okay to ask for your knowledge about it??

It would be a great help since I have only basic knowledge in html…

Thank you very much..

28 Melvin Neo July 13, 2009 at 10:37 pm

Hey M,

I don’t think you’ve uploaded to the correct directory. Because when I tried to view your background file, http://pentestit.com/wp-content/themes/thesis-15/custom/images/bg.png, it returns a 404 Error page.

29 M July 13, 2009 at 10:30 pm

I have uploaded the files to the correct directory now.. yet to no avail.
At least the borders should show! Is it because I am using other customizations?

30 Melvin Neo July 10, 2009 at 11:35 pm

Hey M,

I’ve checked your site and the CSS file. Apparently, you did not upload the pictures to the correct directory. You need to upload your pictures to the images folder which is under your thesis theme. In other words, to: http://www.yourdomain.com/wp-content/themes/thesis-15/custom/images

Try it. It should be ok.

31 M July 10, 2009 at 6:51 pm

Hey Melvin,
I am using Thesis 1.5. I tried two of your customisations- one for the bg & another for the borders. None of them seem to be showing up!

32 Melvin Neo July 7, 2009 at 8:14 am

Super! You’ve got a great looking site! Congrats!

It’s just that the bricks in the background seem to be sliced off too abruptly. I guess it’s probably due to this custom css background settings: background-repeat:repeat-6; Can I suggest you replace the ‘6′ with an ‘x’?

33 Mike McDermott July 7, 2009 at 6:55 am

Hey. I figured it out. I used the code at the beginning of your tutorial, and then some at the end. Thanks!

34 Mike McDermott July 7, 2009 at 6:41 am

Is there anyway that you can look at harrisonsrestaurant.com for me? I want the brick pattern background file to show OUTSIDE the custom container, and a flat color background INSIDE it. Thanks!

35 Melvin Neo July 5, 2009 at 9:38 pm

@David: Thanks. The name of the plugin is called, “Get Recent Comments”. Hope it helps. :)

36 Melvin Neo July 5, 2009 at 9:36 pm

@Dhananjai: I’m sure it can be done using the Thesis hook, or something to that effect. I haven’t done it before. But this may help: http://www.berchman.com/thesis-tutorial-sidebars-however-you-like-them/.

37 David Glendinning July 5, 2009 at 9:21 pm

Great post Melvin and I agree with James, above. One of the best explained Thesis customization posts I’ve seen. I’d love to know which plugin you are using for your Recent Comments in the sidebar?

38 dhananjai gaur July 5, 2009 at 1:10 am

hi there
really, a post which helped me a lot
but my friend m facing 1 problem in thesis
i want 2 sidebars, 1 default sidebar and other one “different sidebar for different page”
plz help me out in this if you could provide me with the coding, i will be very grateful to you…..

39 Sharon Hurley Hall July 3, 2009 at 9:48 pm

Much appreciated. I’ve used this to get some colourful navbars on my site. Thanks a million.

40 George Serradinho June 29, 2009 at 8:15 pm

Some nice customizations indeed. I have also created my own sitemap and archive page using Thesis and WP codex. Changed my sidebars background and sidebars headers. Thesis is so cool and easy to adjust or customize

41 Charles June 23, 2009 at 5:21 am

Many thanks. Thesis was driving me crazy trying to decide on what to do.

42 Melvin Neo June 12, 2009 at 5:36 pm

Before adding Feedburner RSS, you must first register yourself with them first. Just go to http://www.feedburner.com to do so. It’s a free service provided by Google. Once registered, just follow the instructions there to have your blog domain added to the list.

As for what I did to my blog to have the current RSS look, what I did was add a ‘Text’ Widget to the sidebar (in my case is Sidebar 2) and key in the following code. You can just copy mine and paste them onto yours. Just remember to change my variable (eg. MelvinNeo) to yours.

If the codes below are showing up like a form instead as codes in your browser, please right click your mouse and select “View Page Source” or something to that effect; and copy everything beginning with <form and ending with /form>

<form style="border:1px solid #ccc;padding:3px;text-align:center;" action="http://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=MelvinNeo', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true"><div>......</div><p>You can either subscribe via <a href="http://feeds2.feedburner.com/MelvinNeo" title="Subscribe to Melvin Neo's site"; target="_blank">RSS Feed</a> or email by entering your email address below:</p><p><input type="text" style="width:140px" name="email"/></p><input type="hidden" value="MelvinNeo" name="uri"/><input type="hidden" name="loc" value="en_US"/><div></div><input type="submit" value="Subscribe" /><div>......</div></form>

Have fun!

Best regards,
Melvin Neo

43 James Kahenya June 12, 2009 at 3:30 pm

How can I make my e-mail subscription look like yours? I’m pretty new to css and html and while I intend to put in time to learn this stuff, any help will be appreciated that will help me in setting up a pretty basic blog for starters.

Your presentation on customization was superb. The best I have seen so far. Most of the other experts underestimate how “ignorant” some of us non-tech guys are. You did not do that.

Best regards,

James Kahenya.

Leave a Comment

Previous post:

Next post: