Kamis, 16 April 2009

  Tips to Make Multi Column on Blogger Template

To make footer part become one column, it isn’t difficult as you imagine. But, you need a little trick to make the footer blog have multi column. To make you understand, I advise you to try it. Make a new blog for this little experiment (don’t do it on your main blog). In order to avoid any accident that might be happen..

First preparation that we need to give attention most is, width of our column that will be split into multi column, quantity of column that we going to make, space between one column to another column. But, templates in Blogger are so much. To make a deal with those problems, let’s use template Minima. Minima is original template that provide by Blogger with optional color white. Number of column that we are going to make is three column.

Original Minima template has 660 pixel column widths. We are going to make three columns, if we calculate it : 660px divide by 3 = 220px. With space (code to make space is padding) between column is 10px. Based on result of my calculation, column that we will make is 205px.



This is the steps to make multi column on blogger template :

Step 1:

  1. Don’t give a tick on white little box beside sentence, “expand widget template”. Or it will be twice more difficult.
  2. Add the code below exactly above code ]]></b:skin>



/* bottom
==================== */

#bottom {
width: 660px;
position: relative;
clear:both;
margin: 0 auto;
color:#fff;
float: left;
background:#BDBABD;
padding: 15px 0 15px 0;
}

#bottom h2 {
padding: 5px 0 2px 0;
margin: 0 0 10px 0;
color:#ff5a00;
font-size: 24px;
letter-spacing: -1px;
border-bottom: 1px solid #fff;
}

#bottom ul {
padding: 0;
margin: 0;
}

#bottom ul li {
line-height: 26px;
list-style-type: none;
border-bottom: 1px dashed #031c5d;
}

#bottom ul li a {
display: block;
padding: 0 10px;
color:#0701FD;
text-decoration: none;

}
#bottom ul li a:hover {
background: #B1ACB1;
}

#left-bottom {
width: 205px;
float: left;
padding-left:10px;
}

#center-bottom {
width: 205px;
float: left;
padding-left:10px;
}

#right-bottom {
width: 205px;
float: left;
padding: 0 5px 0 10px;
}

3. Head to body under part of template code. Find out codes like this:


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


4. Copy and paste code below exactly above of the previous code.


<div id="bottom">

<b:section class="bottom" id="left-bottom">

<b:section class="bottom" id="center-bottom">

<b:section class="bottom" id="right-bottom">

</b:section></b:section></b:section></div>


5. Click Save Template Buttons.

6. It’s done!



Step 2:

1. Click Page Element tab.

2. Are your new columns already become three ?

Image and video hosting by TinyPic

Good Luck
babai

Comments :

0 komentar to “Tips to Make Multi Column on Blogger Template”


Posting Komentar