Thursday, November 6, 2008

Create Three Column in Blogger Footer

One of my reader asked how to Create Three Column in Blogger Footer as he had some problem in doing that. Now i will hold this tutorial to make three column easily. As if you want a three columns in your blogger template like others then you can have it now.

GO TO BLOGGER LAYOUT > EDIT /HTML

Now (Ctrl + F)Search for below codes,

<div id='footer-wrapper'>
<b:section class='footer' id='footer'/>
</div>

After getting these codes just replace the red line with the following codes,


<div id='footer-column-container'>

<div id='footer2' style='width: 30%; float: left; margin:0; text-align: left;'>

<b:section class='footer-column' id='col1' preferred='yes' style='float:left;'/>
</div>

<div id='footer3' style='width: 40%; float: left; margin:0; text-align: left;'>
<b:section class='footer-column' id='col2' preferred='yes' style='float:left;'/>
</div>

<div id='footer4' style='width: 30%; float: right; margin:0; text-align: left;'>

<b:section class='footer-column' id='col3' preferred='yes' style='float:right;'/>
</div>

<div style='clear:both;'/>

<div id='footer-bottom' style='text-align: center; padding: 10px; text-transform: lowercase;'>

<b:section class='footer' id='col-bottom' preferred='yes'>
<b:widget id='Text2' locked='false' title='' type='Text'/>
</b:section>

</div>
<div style='clear:both;'/>

</div>


Now PREVIEW IT.

If No errors then proceed and add css part to it.

Find </b:skin> and place the below codes before it

#footer-column-container {
clear:both;
}

.footer-column {
padding: 10px;
}

And save Your Template now.

Now Go to Page elements you can see three column created in your footer above your main footer. I think you would love this hack.

No comments:

Post a Comment