Skip to content

DIVIDING YOUR BLOGGER BLOG HEADER INTO TWO PARTS

sharing-blogger-blog-header

If you are using blogger blog and have been following my tutorial, you are going to love this. This tutorial I am about to show you is just too awesome. If you are using a template that has no space for more than one gadget in the header then this is for you.

Some blogger templates the logo takes up all the space on the header but in this tutorial we are going to divide it in two ways; one for your header and the other for your adsense or search box. To get the best performance on your ad code, it is best placing it in your header.

HOW TO DIVIDE YOUR BLOGS HEADER TO TWO PARTS

Must Read: ADDING A STYLISH REPLY BUTTON FOR BLOGGER BLOG

Making tutorial simple, that’s what I do and today we are going to see how to customize our blogger blog header to have two (2) space(s) for gadgets. So are you ready? If you are ready, let’s proceed with the tutorial…

Ok first, it is best to backup your template incase you make a mistake, so you can always revert to your previous one.

Let’s assume that you have already done a backup of your templates. Now here is how you’re going to do the splitting of the header

Go to your blogger blog dashboard >>> Click Template >>> Click Edit HTML. Now you’re in your template code area.

Locate the below code

[php]#header-wrapper { [/php]

Have you seen it? This is the full code…

[php]#header-wrapper {

width:660px;

margin:0 auto 10px

border:1px solid $bordercolor;

} [/php]

Have you seen the similar code? If yes! Now replace the above with the below code

[php]#header  {

float:left;

width:300px;

margin: 5px;

border: 1px solid $bordercolor;

text-align: center;

color:$pagetitlecolor;

}

#header2 {

float:right;

width:300px;

} [/php]

We have successfully completed the first half of the show; now let’s move to the second half of the show, shall we!

Now let’s add our last code and we a done with this tutorial. Locate the below code

[php]<div id=’header-wrapper’>[/php]

Have you seen the above code? Now paste the below code right below the above code

[php]<div id=’header-wrapper’>

<b:section class=’header’ id=’header’ maxwidgets=’1’ showaddelement=’no’>

<b:widget id=’Header1’ locked=’true’ title=’my blog title (Header)’ type=’Header’/></b:section>

<b:section class=’header’ id=’header2’ maxwidgets=’1’ showaddelement=’yes’/>

<br style=’clear:both;’/>

</div> <!– end header-wrapper –>[/php]

Yes! We have successfully completed our process. To check if it visible, go to Layout and you’ll see it there…

If your blog already has a two column header before, this will not work but if you’re trying to put adsense code or whatever code you want above your header then follow the below tutorial…

HOW TO ADD EXTRA WIDGET TO YOUR HEADER

Go to Template >>> Click Edit HTML. Now locate the below code.

[php]<b:section class=’header’ [/php]

Have you seen it?

In the header class section, Change

[php]showaddelement=’no’> to showaddelement=’yes’>[/php]

Have you successfully done that, now save your template and you have successfully completed the whole process. Save and go check your layout to see it.

Now tell me how simple is the whole process? Please do drop your comments and thoughts using the comment box below. Remember that your comments and thoughts are very precious and important to us.

Do you like the post? Then do click the like button, share us and recommend us with friends because you’ll never know who amongst your friends might truly be in need of it too.

9 thoughts on “DIVIDING YOUR BLOGGER BLOG HEADER INTO TWO PARTS”

        1. i said to make the search easy for you, simultaneously press ctrl + f to bring out a search box where you’ll type it in so you won’t have to strain your eyes 😀 please do read instruction carefully

    Leave a Reply to Teckop Cancel reply

    Your email address will not be published. Required fields are marked *