Wednesday, November 23, 2016

How To Divide Blogger Header Into Two Sections NairotechBlog

How To Divide Blogger Header Into Two Sections NairotechBlog





Blogger template designer gives you the opportunity to customize your blog template but as at the time of publishing this post, you cant use it to divide the header of your blogger blog into two.
I am sharing with you, how I split my blogs header into two after following a tutorial at
Realcombiz , making it possible for me to add extra gadgets beside my blog logo.

Dividing 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:


 How Can I Divide My Blogs 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:





==> 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.

Thanks for visiting.
.



Go to link Download

No comments:

Post a Comment