Monday, August 07, 2006

Change blogger header in TicTac template

This is to show how to change the header in TicTac template. You add a header banner of your own. This will work with both TicTac and TicTac blue. The following are the steps.


0. Backup the template !

1. Make the width of the banner to around 765px, height is no-problem


2. From the template, look for the codes
__________________________________________
#blog-header {
margin: 0;
padding: 0;
font-family: "Lucida Grande", "Trebuchet MS";
background: #e0e0e0 url(http://www.blogblog.com/tictac/top_div.gif) no-repeat top left;
}

#blog-header h1 {
margin: 0;
padding: 45px 60px 50px 160px;
font-size: 200%;
color: #fff;
text-shadow: #81A75B 2px 2px 2px;
background: url(http://www.blogblog.com/tictac/top_h1.gif) no-repeat bottom left;
}


_________________________________________
- replace that http://www.blogblog.com/tictac/top_div.gif with your own image

- delete the code " background: url(http://www.blogblog.com/tictac/top_h1.gif) no-repeat bottom left; "



3. Then add 40px to the template same code above
_________________________________________
#blog-header {
margin: 0 40x;
padding: 0;
font-family: "Lucida Grande", "Trebuchet MS";
background: #e0e0e0 url(http://your won banner or header here ) no-repeat top left;
}

#blog-header h1 {
margin: 0;
padding: 45px 60px 50px 160px;
font-size: 200%;
color: #fff;
text-shadow: #81A75B 2px 2px 2px;
}
__________________________________________

4. The last thing is change the 50px, adjust the number of px to fit your needs ( how much height you want the banner to show ).

5. Use preview to see how it looks, then save the template and then republish it.

7. This should work with both TicTac and TicTac Blue.

8. If you don't want the Title to show, delete the <$BlogTitle$> form the template.

9. Good luck !

Digg it   Del.icio.us 

13 Comments:

  • Wow that worked perfectly!
    Thanks mate for the advice and I wish you all the best in 2006!

    By Anonymous Anonymous, at 3:53 PM  

  • No problem! Glad I could help !

    By Blogger wmc, at 9:32 PM  

  • ok great stuff man, but i can't seem to lose the title...

    PLease help

    By Blogger Caligula, at 7:49 PM  

  • And the second problem i have is the: sidebar_bg.gif.

    It doesn't touch the banner at the top.

    Any idea how i can fix this?

    thanks

    By Blogger Caligula, at 8:03 PM  

  • This comment has been removed by the author.

    By Blogger wmc, at 11:21 PM  

  • When you look closely,it is actually the new navbar. You can see from the top left.it has a small bar on the bottom.

    By Blogger wmc, at 11:23 PM  

  • Hi,
    You can just remove the <$BlogTitle$> tag from your template if you don't want the title to show.

    By Blogger wmc, at 11:56 PM  

  • sorry for the misunderstanding, i don't mean the navbar but the image above the word "about". it doesn't touch the bottom of my banner.

    and still i can't find the code: <$BlogTitle$> anywhere, can you tellme between wich lines to find it?

    By Blogger Caligula, at 3:49 AM  

  • Well I tweaked around a lot and this is what i came up with:

    #sidebar {
    margin: -41px 41px 0 547px;
    padding: 20px 0 0 0;
    font-size: 85%;
    line-height: 1.4em;
    color: #999;

    Used a minus number of margin px to close it up.

    By Blogger Caligula, at 4:29 AM  

  • I see ! My mistake !

    By Blogger wmc, at 7:16 AM  

  • Awesome, works very well and I was desperate to change that ugly default header. Thanks a lot!

    By Blogger Martin le djembéfola, at 11:37 AM  

  • This comment has been removed by the author.

    By Blogger miquimel, at 4:15 PM  

  • It doesn't work on mine, perhaps because is the Blueberry version. My header shows slightly to the left. Any advice?

    By Blogger miquimel, at 4:17 PM  

Post a Comment

<< Home