Hi friends and welcome to another series of my basic tutorials for adding a thematic header image. Now that you have your nice Thematic Feature Site theme installed for wordpress blog, next is you would want to have your own thematic header image with your brand identity to replace that dull, boring text. This has been answered by Ian Stewart’s post on how to add a header image, but many thematic users, especially ones who rely on plugins to avoid writing code, are still struggling to get this to work. Using functions.php to add a thematic header image would require a bit of php know-how, so I would recommend to modify the child theme’s style.css for starters. Take a look at the sample image in this post. Thats what the original header looks like on a fresh install of Thematic Feature Site, and we are going to replace it with a thematic header image. Other than replacing the text, we are also going to make this image clickable.
Modifying style.css for your thematic header image
First, you upload your custom image to your webserver and copy the complete filename of the image to your clipboard, which includes paths and start with http://. This is where most new coders get confused and ask why their thematic header image dont appear even if they have written the proper code. Here’s the code I used on my child theme’s style.css to add my header that you can see on z3olyte.com and every page on my site.
Here is what my style.css code looks like:
#blog-title {
width:652px;
}
#blog-title a {
display:block;
text-indent:-9000px;
height: 57px;
width: 448px;
background:url(http://yoursite.com/images/logo.jpg) no-repeat top center;
}
#blog-description {
position:absolute;
}
The size of this header image in Photoshop is 448 x 57 pixels, so depending on the size of the image you will use, you will replace the width and height values with your own, and use the complete filename of your image for the background:url.
What is text-indent:-9000px; for?
Now this where we hide our default blog title text that came with the theme. Take note that we dont want to get rid of the text completely. We are just going to move it away from our new header image. The purpose of keeping the blog title text is to make search engines find out blog, hence it is good SEO. We can also add that code to our #blog-description as well if we need it replaced with a custom image.
Other tutorials for Thematic
If you enjoyed this tutorial and you’re looking for basic thematic header image tutorials, you can check out how to setup Nivo slider as a text widget and how to set up Nivo Slider in Thematic Feature Site
You might also like
Related Posts
- Set up Nivo Slider in Thematic Feature Site I recently changed my wordpress theme from Boumatic, to Thematic Feature Site. I love the front page look where I want to use my Dev7studios' Nivo Slider on without being in the way with my blog posts having a few...
- Now Accepting Guest Articles with Adsense Share As an added opportunity for bloggers and gamers to branch out and gain you more traffic and exposure, The Game of Life is now accepting guest articles and gameplay videos! Â Other than that, each approved article entitles you to boost...
- Skin It! 9 Online Tools to Design your Gadget Skin Something that has been around for a while is protecting our beloved gadget from scratches and skin it with custom designs. Â It's an ongoing trend especially for the fashionable techie. Â Even Apple celebrity Steve Jobs has his own iPhone...
- How To Change Gravatar Size In Thematic Comments I was looking at the comment section of my theme and thought IÂ change gravatar size in thematic comments. Why? Â I love big avatars and I want to see everyone's lovely faces. Â And me being graphic and all, I love details....









12 Comments
Great site. A lot of useful information here. I’m sending it to some friends!
Thanks.. this blog will be updated further with a wide range of topics.. thanks for visiting :)
@z3olyte
Great @ Thanks for share this @
@sumonbdinfo
Sumon recently posted..WordPress Installation Instructions
youre welcome! glad to help :)
@z3olyte
z3olyte recently posted..“Breakout” Tap Tap Revenge 3 FC video
Cindy,
Thanks for sharing. I haven’t gotten around to adding my own header image. I haven’t even settled on a good banner images or logo for my site… But once I am I think I might do this little change to my theme.
@element321
element321 recently posted..QuickTip- How To Resize Images Using GIMP
Welcome! Your blog is long-time accomplished even without a header, but if you need help, I can offer to make you one.
@z3olyte
z3olyte recently posted..The Circle of Trust- an Ultra Fractal graphic novel
Hey Cindy,
Almost search every post on net to land on this page. I was wanting to change my header, and didnt have coding knowledge. this helped. I want to put a black footer for thematic child theme and larger subscription icons, as you did. Can you Please have a look at my site and feedback. Help me out. ThankQ. :-)
Lings recently posted..Mark Zuckerberg- Facebook founder and The Guru of Wall writing decoded
Hi Ling. What browser are you using? If you use Chrome, right click on the footer area where you want the color changed, then ‘Inspect Element’… you’ll see which part of the css you will edit to add color. You can also use this technique so you can see which part of the css an element belongs to.
For your footer, you’ll need to import your parent theme’s default.css directly to your child theme.. look for the #subsidiary attribute and copy paste that to your child theme’s style.css and from there, you can modify it.
@z3olyte
Cindy recently posted..Thank You BloggerLUV
Hey Cindy!
Thanks a lot ! I tried and it worked ! You made my day ! Cheers !
Lings recently posted..Distance between Success and Failure !
Try this for your header image. Using text-indent:-9000; can get you penalized in google rankings, its best to not try and hide text anywhere outside the renderable window. This method keeps all of the Thematic SEO Goodness by adding a span with link to the header below the blog title and description. This span is sized to 100% of the header div and will appear layered over your header text. You can read about it here.
Here is the snippet
Add this to functions.php
// Add Header Image // Add Header Image
function thematic_logo_image() {
echo ‘‘;
}
add_action(‘thematic_header’,’thematic_logo_image’,6);
And this to styles.css
#branding {
@Daniel IserWizard Internet Solutions - Website Design starting at $299
position:relative;
height: 187px; /* Change this to your images height */
padding: 0;
}
#header-image {
background:url(“images/header.jpg”) no-repeat transparent; /* Change This to Your Image */
height:100%;
width:100%;
position:absolute;
top:0;
}
Daniel Iser recently posted..Thematic Header Image The Right Way!
also if you can remove the link to the non existant twitter feed, not sure where thats coming from.
@Daniel IserWizard Internet Solutions - Website Design starting at $299
Thanks for your share! very impressive!
8 Trackbacks
[...] How to Replace Header Title with Custom Image in Thematic Feature Site [...]
[...] This post was mentioned on Twitter by Emory Rowland, Cynthia Pedrosa. Cynthia Pedrosa said: http://bit.ly/aBfmza how to replace header title with image in thematic [...]
[...] How to replace header title with custom image in Thematic Feature Site | The Game of Life [...]
[...] How to replace header title with custom image in Thematic Feature Site | The Game of Life [...]
[...] How to reinstate header pretension with law image in Thematic Feature … [...]
[...] How to replace header title with custom image in Thematic Feature Site [...]
Thematic: How To Replace Blog Title With A Thematic Header Image…
tutorial on how to replace blog title text with custom image for thematic…
How to replace header title with custom image in Thematic Feature Site…
tutorial on adding a custom image logo for your Thematic header…