.
///

How To Divide Blogger Header Into Two Sections

The Blogger template designer allows you to customize your blog template but as at the time of publishing this tutorial, you cannot use it to split the header of your blogger blog into two. Today, am sharing with you, how I divided my blog's header into two after following a tutorial at BloggerSentral, making it possible for me to add extra gadgets beside my blog logo.

Splitting your blog header into two sections can make your blog look more professional, making your logo to appear on the left side of your blog header, while you have some space to add any other gadget or advertisement banner to the right of the logo.

Below is what my Blog header looks like after splitting it into two columns:



So, How Can I Divide My Blog's Header into Two Columns?


==> Log in to your Blogger dashboard via www.blogger.com
==> Click Template
==> Click Edit HTML tab
==> Back up your blog template
==> DO NOT tick the "Expand Widget Templates" checkbox
==> Use CTRL F to find the code below:

<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
<b:widget id='Header1' locked='true' title='My Blog (Header)' type='Header'/>
</b:section>

==> Copy and paste the code below, right under (after) it

<b:section id='header-right' showaddelement='yes'/>
<div style='clear: both;'/>

==> Hence, your code should now look like this:

<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
<b:widget id='Header1' locked='true' title='My Blog (Header)' type='Header'/>
</b:section>
<b:section id='header-right' showaddelement='yes'/>
<div style='clear: both;'/>

==> Use CTR F to find ]]></b:skin>
==> Copy and add the code below right above the ]]></b:skin> line

#header, body#layout #header {width:35%;display:inline-block;float:left;padding:15px;}
#header-right, body#layout #header-right  {width:50%;display:inline-block;float:right;padding:15px;}
#header-right .widget {margin:0;}

==> Save your template.

Go to "Layout" and you should now notice a "Add a gadget" link right beside the header. Click it to add any widget right beside your blog logo. ( eg Social media iconsadvertisement banner, Google Search box etc)

That's all.

I hope this helps.

If you have contributions or questions to ask, kindly relay them via comments.

Cheers!





9 comments:

  1. Thanks for this but can I set the Header width in pixels instead of percentage?

    ReplyDelete
    Replies
    1. Yes, you can! Just make sure you take into consideration, the width of your blog.

      Delete
  2. very useful info to me. Tnx Jide. By d way Merry Xmas and New yr !

    ReplyDelete
    Replies
    1. You welcome bro. Compliments to you too.

      Delete
  3. Replies
    1. @Beauty If u backup ur blog then i suppose you can retrieve your data.

      Delete
    2. If you backed it up before making changes, you can easily restore it. Contact me via email if you are unable to do it.

      Delete
  4. i dont know why but it is not working in mine. still there is one header only.
    link: placement.gofreshers.org
    please help.

    ReplyDelete

We love to hear from you!

If your comment is unrelated to this post, please use our Contact page.

Want to be notified when I reply your comment? Tick the "Notify Me" box.

THANKS.