
In my last post and video I explained how to make a child theme for the Genesis theme framework in WordPress. In this article I explain how to start styling the Genesis child theme.
Here you can see where we left off last time with the Genesis child theme only just set up plus an image of the Photoshop visual I used to show the client how the home page would look:

Once the client was happy with the PSD visual, I started creating the child theme locally using MAMP, Photoshop and a text editor.
As you can see above left, the default Genesis child theme looks particularly uninspiring but it is actually very quick to style up the new theme using Genesis. I have made around 10 videos of 5 minutes each showing how I did this, so it can be done in less than an hour!
Genesis Theme Settings
If you look again at the Genesis default theme above (kinda ugly, eh?) you see 3 gray bars across the top. All we need is one top horizontal navigation menu – which is sort of standard these days.
We can get rid of the other two straightaway by going into Genesis Theme Settings on the left hand side of the WordPress administration area.

I will run down the basics of the Theme Settings from the top to the bottom.
- Firstly, I have the default Enable Automatic Updates checked. This means you can update Genesis with a mouse click when the updates come out – as with WordPress, you should do this every time an update comes out. This is one of the benefits of using Genesis – it is developed alongside WordPress and so will always work whatever happens to the WordPress core.
- Leave the Custom Feeds section blank.
- Default Layout is a cool Genesis feature where you can put a sidebar on the left or right, have no sidebars or two sidebars in various arrangements. You can change this on a page by page basis (even cooler). For this site I put the sidebar on the right.
- For Header Settings you can either have an image or the text of the site title. I chose “Header Image” for this site.
- In the Navigation Settings you can choose to have only primary navigation which gets rid of one of those ugly gray bars. You can also Enable Fancy Dropdowns which adds a rather nice Suckerfish delay to your dropdown and makes you look like a coder rockstar when you’re not. You can add other options to the navbar such as today’s date or a site search.
- You can choose which pages you want Breadcrumbs on (I turned these off to get rid of that other ugly gray bar).
- You can choose to have Comments and Trackbacks on posts only but not on pages (as is the usual way).
- You can alter the output of your main blog pages by choosing to have excerpts only and thumbnail images, for example, in the Content Archives section.
- In the Blog Page section you can choose to have only certain Categories listed. I left this with All Categories.
- And lastly you can add various scripts to your header and footer sections of the webpages in Header and Footer Scripts. This is useful for installing Google Analytics and jQuery scripts.
I generally like to do as little as possible here in the Theme Settings and as much as possible in the style.css and functions.php files. The Theme Settings, although important, are only very general controls. When you are creating websites for demanding clients. Most of the action takes place in CSS-land.
Adding a background color and image
This is, of course, straightforward CSS. The background is a light brown color with a gradient running down from the top where it is darker. In the video below I copy a slither of the background and then create a one-pixel wide GIF in Photoshop of the gradient and same that in the child theme’s images folder as bg.gif. The CSS to create the background is:
body {background : #f3ece1 url(images/bg.gif) repeat-x; }
This repeats the one-pixel wide GIF along the top of the background and then, under the repeated GIF is a background color of the light brown #f3ece1. This color I sampled with the Photoshop Eyedropper Tool (I) was the color of the last pixel at the bottom of the copied slither from the PSD. This means that the gradient runs down from the top to the background seamlessly.
Adding a background color to the main page wrapper
This actually makes most of the page light brown which isn’t much good, so, in order to get the main core of the page white I added some CSS to a div id in the mark-up that contains all the page elements. In most web page mark up there is a div id called “wrap” or “wrapper”. In Genesis it’s called “wrap”.
#wrap {margin: 15px auto;
background: #fff;
width: 960px;
padding: 20px ;
-moz-box-shadow: 0px 0px 5px #aaa; -khtml-box-shadow: 0px 0px 5px #aaa; -webkit-box-shadow: 0px 0px 5px #aaa; box-shadow: 0px 0px 5px #aaa; }
This CSS above colors the central area white. I’ll go through the above, line by line:
margin: 15px auto;puts 15 pixels on top and bottom and makes sure the whole website is centered – this is from the default Genesis themebackground: #fff;makes it whitewidth: 960px;makes it 960 pixels wide (good job I’m here!)padding: 20px;this adds 20 pixels of white around it so that the background doesn’t butt right up against the edge of the text (so it isn’t 960 pixels wide, it’s actually 1000 pixels wide – CSS will drive you mad!)-moz-box-shadow: 0px 0px 5px #aaa;… etc. adds an even shadow around the wrap inallmost of the main browsers
So that’s the background and the wrap finished, now it’s on to the header logo.
Adding a header logo in Genesis
As you can see above I chose “Header Image” under Header Settings in the Genesis Theme Settings above.
I saved the logo in Photoshop and put it in the child theme images folder and then added this to the CSS:
.header-image #title-area {background : url(images/logo.jpg) no-repeat top left ; }
This adds the logo to the top left of the header which returns us to the home page when clicked.
The logo for this site was deeper than the space allowed so I had to add a greater height to another two elements in the stylesheet.
#header {height: 126px;}
.header-image {height: 126px;}
Genesis themes are excellently coded and the CSS is just a joy to work with, however, this is one of the few cases where you have to add something twice!
Starting to style a Genesis child theme in WordPress
I actually did realise I was filming myself for parts of this video so I apologise for the unkempt appearance. ![]()
Here is the video where I change the Genesis Theme Settings and style the background and logo in WordPress using a Genesis child theme. It also may help you to view the previous video where I create the child theme and the following video where I move on to a header text widget and the top navigation bar.
What do you think?
Hopefully this contained some useful CSS tips for those that don’t use Genesis and was helpful for those that do! I’m always interested to hear about how you create WordPress themes or if you have any questions.





Looking forward to the rest of the series. Great to be able to watch your method.
I’m too lazy to type my CSS so use Stylizer. A bit dangerous as I’ve started to forget how to do it now. I agreed with you about how well laid out the Genesis style-sheets are.
Yes, I use Dreamweaver from time to time – if you’re doing a lot of it you need something like that. You can get a sneak peak at the subsequent videos in the series at my YouTube channel or you can wait for them to come here with the instructions. Glad you’re liking them.
hi Rob
just noticed your tutorials on wordpress themes and genesis.
Im looking forward to having a look at them as have seen the light and am looking at using wordpress on sites that dont require tons of bespoke coding.
Hey Louie, good to see you back here again. Definitely, WordPress is the way to go with simple sites – it can handle just about anything although, if you’re looking to do a huge shopping cart with 1,000′s of products, it’s not the CMS for that! Let me know if you need any help with it.
Hey Rob – This is great – just what I was looking for – are yo doing any more posts about styling a Genesis child theme? If so let me know where I can subscribe.
Thanks Sofia, you can subscribe to RSS feed here: http://feeds.feedburner.com/robcubbon/MBQo or my lovely newsletters here: http://robcubbon.com/free-how-to-market-yourself-online-ebook/ Top tip: do both
Rob,
Thanks for taking the time to put this together! Your efforts are much appreciated.
Robert Donnell
No problem, Robert, there’s plenty of other Genesis stuff here.
Hi Rob
I love this, I am currently looking into creating websites with wordpress (I have already set up my own with it) I just love the ease of wordpress compared to dreamweaver and FTP and how you have to check it constantly.
Anyway I am eager to make sites that are different and have my own spin on it instead of just a custom wordpress theme so these articles are great! I am taking my time as I am not a coder so I especially like how you have put together the tutorials/ videos. I am hoping to find your guide useful.
Thanks, Sian, if you check out this post it has all the videos I made in this series so it shows you how to go from the PSD design to the finished website using Genesis and WordPress. It’s possible to get the site to look anyway you like and get it to do anything you want it to do!
Thanks Rob
Well, I guess you can make a genesis theme that’s attractive if you’re as talented as you obviously are, but it’s the ugliest framework of them all. The child themes are drab and unbelievably narrow width. They brag about theme control panels but the CPs are almost bereft of options. I’m a civilian. I don’t want to use Dreamweaver, I don’t want to tinker much with the code. I want a great looking site fast — and that’s their sales pitch.
Granted, everybody’s designs are shrinking these days. In the rush to create responsive themes, content space gets sacrificed because it’s easier to get the theme to scale down if it’s narrow to begin with. (btw, I did try eleven40, their widest theme — it’s also the ugliest).
The only good thing about Genesis is that it seems very stable — probably because there are so few bells and whistles it’s less likely to break down.
Hello Amy, thanks for calling me talented (although I’m not)
I can understand your frustration as Genesis taken straight out of the box is pretty ugly. Yes, there aren’t a huge amount of options in the control panel – I think they keep that down to a minimum, as you say, to keep loading time down and to increase stability.
However, I think at 960 pixels they’re as wide as most themes. Maybe, others are nearer 1000 pixels but I don’t think that makes much difference. I quite like the responsive theme Streamline which redesigns itself to present a different look for mobiles and tablets and I personally quite like eleven40 that you tried and that’s a massive 1140 pixels wide on a desktop browser (ah, just worked out why it’s called eleven40!)
OK, if you don’t like them, you don’t like them, fair enough. I see from your link you’re trying out Generate (the Copyblogger theme) – if you need a hand with anything, drop me a line.
Hi Rob
Thanks for the info, I’m really battling with the image logo for my Genesis child theme, it was working then I wanted to make the logo a little smaller, I deleted the file, put the new file in images then changed the CSS file to reflect the new file and now I get nothing up there? Help Please
Hello Shannon. Sounds like you may have made a mistake with the image name or file path in the CSS? Instead of deleting the old logo why didn’t you just create a new logo with the same file name and over-write it. Do you have a URL?