How To Divide Blogger Header Into Two Sections
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!
Great to see this post. Really good information.I looκ foгωaгd tο nеw uρdаteѕ anԁ wіll share this websіte with my Facebook friends.
ReplyDeletewebsite design