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 icons, advertisement banner, Google Search box etc)
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 icons, advertisement 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!
If you have contributions or questions to ask, kindly relay them via comments.
Cheers!
Thanks for this but can I set the Header width in pixels instead of percentage?
ReplyDeleteYes, you can! Just make sure you take into consideration, the width of your blog.
Deletevery useful info to me. Tnx Jide. By d way Merry Xmas and New yr !
ReplyDeleteYou welcome bro. Compliments to you too.
Deletei don scatter my blog oo
ReplyDelete@Beauty If u backup ur blog then i suppose you can retrieve your data.
DeleteIf you backed it up before making changes, you can easily restore it. Contact me via email if you are unable to do it.
DeleteThanks jide. This is awesome.
ReplyDeletei dont know why but it is not working in mine. still there is one header only.
ReplyDeletelink: placement.gofreshers.org
please help.
My own is not working, it is showing
ReplyDelete"Error parsing XML, line 1161, column 9: The element type "div" must be terminated by the matching end-tag.
Please reply me shortly @ mhedhozie@live.com, Kahrim Minolta @ FB.
i want header in inline but their are showing like one on top and another on bottom how can i fix it?
ReplyDelete