How to Install and Customize a Thesis Site in a Weekend (Part 4)

Welcome to Part 4. Learn how I customized the default Thesis Theme to create a unique WordPress site. I include css code snippets and take you through the different looks of Middle Path Marketing from the default Kubrick, to the default Thesis Theme to a uniquely customized Thesis site.

Learn how I use a unique background, header, multimedia rotator boxes with images and links to pages, adjust fonts, tailor headlines, sidebars and tweak many other elements to make the site unique.

Disclaimer

  • Be aware that like many WordPress and Thesis Theme users I am self taught and I do not guarantee that the use of any of the following code will make your site look exactly like the case study.
  • The custom.css code is to illustrate aspects of the site’s design. Feel free to use any of it and if you have any problems let me know and I will do my very best to assist you further.
  • Make sure you back up your custom.css file and/or your site before experimenting with any changes. I have learnt the hard way many times.

Have Fun

Yes, have fun! Learning about code for the first time is exciting. When you go from no knowledge to some knowledge, and gradually build on it (also dangerous sometimes – don’t get cocky) you realise that you can create a spectacular site without paying anybody to do it for you!

NOTE:

  • The default Thesis Theme screenshot above is a site immediately after installing WordPress and installing Thesis Theme - BEFORE you add any content.
  • The unique Thesis site above has content and is several hours old – AFTER adding some pages, posts, categories and images and customizing the appearance using code offered later on in this post.

Upgrading from Thesis Theme 1.5 or 1.6 to 1.7

If you currently use Thesis you might want to make sure you are using the latest version of Thesis Theme.

The upgrade (in the early days) has some hiccups, depending on what instructions you follow. You also need to have the time to do site backups and spend time fixing any bugs you come across due to plugin issues or not holding your mouth right (a bizarre reason why sometimes it works and sometimes it doesn’t with no scientific or logical reason).

  • I have not yet upgraded Thesis Theme HQ as I need some quiet time and my kids are on school holidays at the moment for a few weeks.

I highly recommend Philip Barron’s upgrade guide - also recommended by the Thesis Theme Forum. It seems to have a higher success rate for many Thesis users who took the time to complain of their problems (or lack thereof) when upgrading.

Read Philip’s easy to follow Getting there: Upgrading to Thesis 1.7 post.

Installing Thesis Theme 1.7 from scratch

Philip Barron has a great article on First-time Thesis installation.

Customizing Thesis Theme

The following screenshots show most of the settings I use to get Middle Path Marketing to look like it does above.

Thesis Options Settings - Click on image for full size:

Design Options Settings - Click on image for full size:

Code snippets

  • You can use the Thesis Design Options to adjust your Fonts, Colours and More or alter these elements using the custom.css (aka custom style sheet).
  • I prefer to use the custom style sheet because I can copy and paste without having to go through numerous drop down menus.
  • If you don’t want to play with the custom.css code you can select colours, fonts, nav menu, multimedia box, etc settings using drop down menus in the Thesis Design Options.
  • If you would like to use custom.css code and/or learn how to adjust custom code to get a look like Middle Path Marketing, check out some of the code from Middle Path Marketing, offered below.
    • I am not offering all of my custom.css code – just some snippets to give you an idea of what changes to make to get a unique look.
  • Note that I checked the “use custom stylesheet” box.

Unique background

Default Thesis Theme background

  • white ~ choose to add a cool shadow with a check of a box
  • use one of several background images that come with the Thesis Theme package e.g. ocean

Read how easy it is to add custom backgrounds with Thesis at the DIY Themes site.

Middle Path Marketing background - custom.css code
Background image of a forest

.custom #container {
background: none;
padding-top: 0em;
}
body.custom {
background:  url(images/path.jpg) center top fixed no-repeat;
}

Background for pagesame as content area
.custom #page { background: none; padding-top: 0em; }
.custom .page { background: none; padding-top: 0em; }

Unique header

Remove background and padding from header area
.custom #header_area .page {
padding-top: 0em;
background: none;
}

Header space
.custom #header {
background: none;
border-bottom: none;
display: block;
height: 269px;
outline: none;
padding: 0;
}

Header image
.custom #header #logo a {
background: url(images/mpmhead.jpg) center top no-repeat;
display: block;
height: 269px;
margin: 0 auto 0;
text-indent: -9999px;
width: 100%;
}

Remove tagline from header space
.custom #header #logo,
.custom #header #tagline {
text-indent: -9999px;
}
.custom #header #tagline { height: 0; }

Navigation Menu

  • I recommend using the Thesis OpenHook Plugin to easily change the location of your nav menu to below the header.

Nav (menu) custom.css
.custom .menu,
.custom .menu a,
.custom .menu li ul {
background: #b1bda3;
border: none;
color: #D3D3D3;
font-family: Kristen ITC, Georgia, "Trebuchet MS", Helvetica, sans-serif;
font-style: bold;
font-size:20px;
}

Menu background, height and padding
.custom .menu {
background: #b1bda3;
height: 40px;
padding-bottom: 0px;
}

Menu fonts
.custom .menu a {
background: #none;
color: #222222;
font-size: 16px;
letter-spacing: 2px;
text-transform: none;
text-decoration: none;
outline: none;
padding-bottom: 0em;
}

Menu hover
.custom .menu a:hover {
background: #b1bda3;
color: #ffffff;
}

Menu current item styling
.custom .menu .current > a,
.custom .menu .current-cat > a {
color: #ffffff;
cursor: text;
}

Menu hover
.custom .menu .current > a:hover,
.custom .menu .current-cat > a:hover,
.custom .menu .current-parent > a:hover,
.custom .menu .current-cat-parent > a:hover {
background: #b1bda3;
color: #222222;
cursor: text;
}

Menu background and font colour
.custom .menu li ul a {
background: #b1bda3;
color: #222222;
}

Dropdown hover background and font colour
.custom .menu li ul a:hover {
background: #b1bda3;
color: #188742;
}

Current item hover
.custom .menu li ul .current > a:hover,
.custom .menu li ul.current-cat > a:hover {
background: #b1bda3;
color: #f5f5f5;
cursor: text;
}

Feature Box

The light coloured strip along the top of the site, below the nav menu with links to the main pages and posts.

  • I recommend the Thesis OpenHook Plugin again – to insert whatever you would like in the Feature Box area – click for larger image :

Feature box custom.css

.custom #feature_box {
background: #f5f5f5;
/*height:300px;*/
padding-left: 1.5em;
padding-right: 1.5em;
padding-top: 1.8em;
padding-bottom: 1.8em;
line-height: 1.8em;
font-size: 1.0em;
}

Content Box

.custom #content_box {
background: #b1bda3;
margin-top: 0em;
margin-bottom: 0em;
padding-top: 0px;
}

Content

.custom #content {
background: #b1bda3;
margin-top: 0em;
}

No Background Content Page Area

.custom #content_area .page { background: #b1bda3; }

Teasers

.custom .teasers_box .entry-title a { color: #222222; font-family: Kristen ITC, Georgia; font-style: bold; font-size:20px; line-height:1.3em;}
.custom .teasers_box .entry-title a:hover { color: #188742; font-family: Kristen ITC, Georgia; font-style: bold; font-size:20px; text-decoration: none; line-height:1.3em;}
.custom .teasers_box {
border-bottom: 1px solid #cccccc;
margin-top: 10px;
}
.custom .teasers_box p { font-size: 14px; }
.custom .teaser .teaser_author a,
.custom .teaser a.teaser_comments,
.custom .teaser a.teaser_category,
.custom .teaser .edit_post a {
border-bottom: none;
}

Post Box

.custom .post_box {
background: /*#FFFFFF*/transparent;
color: #222222;
margin-left: 0em;
margin-right: 0em;
margin-top: 2.2em;
padding: 1em;
}

Multimedia Box Images

Add the code for your 1, 2 or 4 ads or images…

- with links to relevant  pages or sites

…in the ‘Custom Code’ field in the ‘Thesis Design Options’ panel.

This is the code I used for adding the 4 images in the multimedia box / rotator areaclick for larger image:

The following code is the custom.css for the Multimedia box images:

.custom #multimedia_box {
margin-top: 1.1em;
padding: 1.1em;
padding-bottom: 0;
}
.custom .image_box,
.custom .custom_box {
background: none;
border: none;
}
.custom div.adblock img {
padding: 0px;
background-color: #F5F5F5;
display: inline;
}
.custom .cenx {text-align: center;}

Sidebars

.custom #sidebars {
background: none;
border: none;
padding-top: 0em;
}

Widgets in Sidebar
.custom .widget li { color: #222222; border-top: 1px solid #d0d0d0; padding-top:0.5em;}
.custom li.widget a {
color: #222222;
text-decoration: none;
}
.custom .textwidget { color: #222222;}
.custom li.widget a:hover { color: #188742; text-decoration:underline; }

Footer

.custom #footer_area .page { background: #b1bda3; }
.custom #footer_area {background: #b1bda3 /*url(images/footer.jpg) repeat-x*/; }
.custom #footer {
text-align: center;
font-size: 12px;
background: #b1bda3;
}
.custom #footer a { color: #663333; }
.custom #footer a:hover { color: #188742; text-decoration: underline; }

Custom Bullets

.format_text ul { list-style-image: url('images/yybullet.png'); background-position: 1.5em; padding-left: 0.5em; }
.format_text ul li {color: #222222; margin-left: 1em; }

Change the main font colour, font family and font size

.custom p {
color: #222222;
font-family: Georgia, "Trebuchet MS", Verdana, sans-serif;
font-size: 14px;
}

Headlines size, colour, style

.custom h1, h2 { color: #222222; font-family: Kristen ITC, Georgia; font-style: bold; font-size:20px; line-height:1.3em;}
.custom h3 { color: #222222; font-family: Kristen ITC, Georgia; font-style: bold; font-size:18px;}
.custom h4, h5, h6 { color: #222222; font-family: Kristen ITC, Georgia; font-style: bold; font-size:15px;}
.custom h1.entry-title, .custom h1.entry-title a {
color:#222222;
font-size:30px;
font-style: bold;
font-family: Kristen ITC, Georgia;
}

Links

Colour and style of links
.custom a, .custom #sidebars a {
color: #663333;
text-decoration: none;
font-style: bold;
}

Change the colour and style of links when they are hovered over
.custom a:hover, .custom #sidebars a:hover {
color: #188742;
text-decoration: underline;
font-style: bold;
}

Remove dotted lines around links
a:focus { outline: none }

Comments

Do not display comments closed if they are closed & Do not display comment numbers
.custom .comments_closed { display: none; }
.custom .comments_closed { display: none; }

Do not display comment brackets if comments are closed
.custom .comments_closed { display: none; }

Middle Path Marketing.com is currently in our treasure trove of future projects - because we were spreading ourselves too thin. Therefore the links to Middle Path Marketing have been disabled.

If you are interested at seeing what the home page looked like in its entirety, a jpg is here.

{ 32 comments… read them below or add one }

silverback April 8, 2010

Enjoy ALL your and Scott’s sites so much. Thank you for such interesting reading and this is from a person who will be 71 years old on 4th July! Your site takes me ages and ages to read but I do it in stages and enjoy going back where I left off and reading more. I’m a bit like a rabbit in a car’s headlights.

Reply

Andrew@BloggingGuide April 8, 2010

You’ve made what look like complicated things simple and easy enough to understand and follow. Kudos to you!
.-= Andrew@BloggingGuide´s last blog ..How to Get All the Free Traffic You Want =-.

Reply

George Serradinho April 8, 2010

Very nicely explained with loads of detail.

Some users get scared to make changes and then don’t see how flexible Thesis is. I have also taught myself by playing around with Thesis and trying others tutorials and making changes here and there.

Reply

Joe April 10, 2010

Very good tutorial indeed, I like that it is written in parts, because had it been only just a little bit bigger I would have got scared.

I am new into all of this, but it is very rewarding when you get it right. The tutorial is very well explained and very easy to follow,

Thanks,
Joe.

Reply

Somone Bull April 11, 2010

Thanks Joe. I was concerned it could get too big. Some people will pick the eyes out of it. Hopefully everyone will be given a greater awareness of the whole process.

Everyone should at least consider adding a unique background and a unique header so their site is…UNIQUE.

Reply

Evergreen Real Estate April 10, 2010

I love this theme and have used it to create my Evergreen real estate blog and three others with virtually no previous programming knowledge. The support forums are great and the platform is very customizable without having to know much CSS or php and even limited html!
.-= Evergreen Real Estate´s last blog ..New Evergreen Listings April 9, 2010 =-.

Reply

Dr. Kal April 10, 2010

Great job with the first four parts of this series. The first three would have been very helpful to me when I first moved from Blogspot to Wordpress with the Thesis Theme.

I love the design of your site. Can you tell me what font you are using? Or is that a trade secret?
.-= Dr. Kal´s last blog ..How To Lose Weight Fast =-.

Reply

Somone Bull April 11, 2010

The Middle Path Marketing accent font for headlines is Kristen ITC.

Reply

Shamim April 11, 2010

Wow! It’s a great and easy written post.

I am sure…..by following your tips it will be easy to customize a thesis theme to stand unique.
.-= Shamim´s last blog ..A preview of Thesis Theme Version 1.7 {(thesis theme 1.7 beta 1) video} =-.

Reply

Tiffany @ Onling Passive Income May 12, 2010

I have a feeling that I will be spending hours at your site. Although I have Thesis on my blog as you can tell it is still quite boring and plain. I guess I am more afraid to play around with more than anything. I’m always afraid I am going to break it and not be able to fix my blog. Definitely going to spend some time looking around this site now to see what I can do – I hope to be getting a unique header soon!
.-= Tiffany @ Onling Passive Income´s last blog ..How I Choose Amazon Products to Promote on a Niche Website =-.

Reply

Somone Bull May 12, 2010

Just make a backup of your custom.css and custom.php files and if you do make changes, replace the code and refresh your browser. You can also install Thesis in a folder below your main URL e.g. yourURL.com/test – the folder called ‘test’ and try making your changes there.

This way no one can see you are tweaking and when you have perfected your changes, download them using the Manage options feature and upload them to your main site. Copy and paste the custom.css and custom.php file contents also.

Alternatively making incremental changes but only comment out the custom.css by adding a /*before the code as well as one after like this */. If you want to revert back to it you haven’t deleted it.

Have fun.

Reply

Michelle @ Leather Womens Bags May 21, 2010

I just started using the awesome thesis 1.7. Trying to customize the site to my taste, found your equally awesome TTHQ from G. I was so confused as I’m new to css and all coding BUT from your methodical tuts here on your site, I believe I have found the help I was looking for.

Though I haven’t gone through the entire site and tuts, I can’t help but say ‘Thanks’ for putting them together.

Cheers!
.-= Michelle @ Leather Womens Bags´s last blog ..Hello world! =-.

Reply

Foam Insulation June 13, 2010

You have shared very nice and descriptive step to customize Thesis theme. actually i am to use thesis theme, but i didn’t know how to customize its theme. now i understood all step. I will try it soon.

Reply

Paul August 29, 2010

Thank you so much for laying out the steps in so much detail, this is something I find missing from so many other blogs talking about how to customize Thesis! I’m still figuring out Thesis as I’m very new to it, and I was wondering if you could help me with changing the custom css file (at least that is where I think I need to change things!) so that the content area will be somewhat transparent and show the trees in the background image – http://islacreationz.com/

I have tried customizing the css, but to no avail yet. I’d love to get your input on how to do this!

Thanks,
Paul

Reply

Somone Bull August 30, 2010

The following will make your page transparent (usually white) – but then you have to change your other areas, perhaps even your font.
.custom #page {
background:none repeat scroll 0 0 transparent;
}

I definitely recommend you use Firefox for your browser and install the add on Firebug. You can then hover over areas and see what you need to do to make changes. I will do a video and show how simple it is to use. Then you aren’t making live changes but you are instantly seeing the changes you can make by tweaking each area of code. If you mess up – just refresh the page and start again.

I’ll drop a video link here when I have done a Firebug video. On my TO DO list.

Reply

Andrew Mooers October 1, 2010

Just downloaded Thesis and thanks for the ideas as we get it in to warp drive, to see what she can do.

Reply

Jay martin November 14, 2010

This is a great and short method to do so much bigger thing in so little time.

Reply

Neil January 25, 2011

Post 5!!!!!!!!!!!!! Boo-hoo, hoo! Post 5 – after hours and hours and hours of looking online for a SIMPLE (no custom, no .php anything) way to add an author box (just text and photo, no scraping admin) using the after post section of Open Hooks. Is there anyway you can tell me the answer? …or when Post 5 will appear? :-)

Reply

Somone Bull January 26, 2011

Neil – I sent you an email with some code and thoughts.

Reply

Neil February 8, 2011

Hi! Thank you for answering my call to help! :-)
I’ll give your solution a try someday soon. I especially like your suggestion of using Firbug to View Source of the live examples I like and then copying that ;-)
Thanks again so much.
- Neil

Reply

Somone Bull February 8, 2011

My pleasure.

Reply

Cindy January 31, 2011

Thank you soooooo much. Now I have dinky little apple bullets instead of those ugly squares. Some other guy had a different solution, which either didn’t work at all, or I was too stupid to implement it. I’m thinking it was the latter. :0)

Reply

Somone Bull January 31, 2011

Very cute. Nice work there. I often come across a tutorial that I just can’t get my head around. Glad I could help.

Reply

Sudipto February 3, 2011

Is there a way to prevent the “image_box” under “multimedia box” from displaying the value of custom field “images” and instead only show the custom code inserted under thesis option panel.

Reply

Somone Bull February 3, 2011

I honestly can’t answer that one. Please try the Thesis forum.

Reply

Anuj March 15, 2011

You have done a great job with your site!

I subscribed to your RSS and will check out your content. I’m sure I will learn something.

Reply

Mark H May 6, 2011

Hi Somone,

Thanks for the WordPress and Thesis fundamentals. This is exactly what a newbie needs! I’m going to add your RSS feed to my site to give reference to your tutorials. Your website has a very nice look and feel.
Great job!

Reply

Paul M November 29, 2011

You are a life saver.

Thank you so much for this tutorial you’ve saved me HOURS and brought a whole ton of life to my sites!!

Reply

tonmoy January 14, 2012

Many Many thanks to give this very valuable tips in here. but i have need one more thing. can you tell me ……. how i can move my nav menu center on my site? i mean in my site my menu are in left side. i want to move it center …….. is it possible? please anyone know me.

Thanks
Tonmoy

Reply

Somone Bull February 9, 2012

Hi Tonmoy – sorry about the late response. I recommend a tutorial @ Dave Wilkinson’s site: http://www.thinkdave.com/center-thesis-menu/

Reply

Carlo February 7, 2012

I find thi s and work!
/*Applies mycustomfont to all headings*/
.custom h1, .custom h2, .custom h3, .custom h4, .custom h5, .custom h6 {
font-family: mycustomfont, georgia, serif;

}
but for the body? what I have to do?
.custom body {
font-family: mycustomfont2, georgia, serif;

}

Thanks

Reply

Somone Bull February 7, 2012

You only have to have .custom at the front of a line of code – not repeated again. For example: .custom h1, h2, h3, h4 {

If you use the Firefox browser, you can use the free addon Firebug to see what changes look like in your browser window without actually making the changes to your live site. If you are happy with the changes then copy and paste the code to your custom.css file.

Reply

Leave a Comment

Previous post:

Next post: