Add columns to Blogger Footer

March 4, 2009

We are going to add some columns to our Blogger Footer. If you're using one of the Blogger default templates, you've noticed that in your Footer section, you only have a horizontal Add a Gadget element that has the same width like the Blog.
We can do better. Let's start with adding 3 columns in the footer, and place the default one on the bottom.

Advantages:
► you can place more widgets (gadgets)
► rearrange them as you want
► your main content area will load faster if you place your "biggest" widgets on the bottom

Ok, let's do this. This time, you'll just have to Copy-Paste. It's a 7 min job. Before you begin, do back up your template (1 minute).

1. If you already have some widgets (gadgets) in the Footer, remove them:
LAYOUT ► check if you have gadgets in the footer ► if you do, click on Edit and ► Remove

or, just "drag" them in the Sidebar. You'll get them back in place when you integrate the Footer columns.

2. Go to LAYOUT ► EDIT HTML ► and locate the following part of the code:
]]></b:skin>
</head>
..ABOVE it, you'll have to place the following part of the code:
#footer-columns {
border-top:1px dotted #999999;
clear:both;
margin:0 auto;
}
.column1 {
padding: 0px 5px 3px 5px;
width: 30%;
float: left;
margin:3px;
text-align: left;
}
.column2 {
padding: 0px 5px 3px 5px;
width: 31%;
float: left;
margin:3px 3px 3px 5px;
text-align: left;
}
.column3 {
padding: 0px 5px 3px 5px;
width: 30%;
float: right;
margin:3px;
text-align: left;
}
.addwidget {
padding: 0 0 0 0;
}
#footer-columns ul {
list-style:none;
margin:0 0 0;
padding:0 0 0;
}
#footer-columns li {
margin:0;
padding-top:0;
padding-left:0;
padding-bottom:.25em;
padding-right:15px;
text-indent:-15px;
line-height:1.5em;
}
body#layout #footer-columns {
width: 100%;
margin-left: auto;
margin-right: auto;
}
body#layout .column1 {
width: 32%;
float: left;
}
body#layout .column2 {
width: 32%;
float: left;
}
body#layout .column3 {
width: 32%;
float: right;
}
...that's the CSS style for our new Footer section. We'll talk about customization (colors, borders, backgrounds, headings...) in the other tutorial.

3. Now, to add some containers. In your LAYOUT ► EDIT HTML ► locate this part:
<b:section class='footer' id='footer'/>
...you will DELETE it, and REPLACE with this code:
<div id='footer-columns'>
<div class='column1'>
<b:section class='addwidget' id='col1' preferred='yes' style='float:left;'>
</b:section>
</div>
<div class='column2'>
<b:section class='addwidget' id='col2' preferred='yes' style='float:left;'>
</b:section>
</div>
<div class='column3'>
<b:section class='addwidget' id='col3' preferred='yes' style='float:right;'>
</b:section>
</div>
<div style='clear:both;'/>
</div>
<b:section class='footer' id='footer'/>
...Save template.

Basically, that's it. It works for the templates with different width, because the columns are fluid (made to stretch to fit the footer-container width).
Some margin adjustments may be necessary for the wider templates.

Next time is a fun part - customization.

post signature

Face It! Tell Your Tweets Digg It! Add to Delicious Stumble Upon I Reddit! Mixx it Up! Add to Your Faves

135 comments:

Yaniez said...

good info...
but if i don't have footer wrapper how to do?
i try to find it, but don't have..

Unpink Damsel said...

yayyyyyyyyy, finallyyyyyy!!!!
thanks so much for posting these up :-)

Soledad said...

you are so nice!!! thanks

pocket said...

Yaniez,

you have a customized template (not the default Blogger one), and therefor, it's constructed differently and already optimized.
To implement extra columns, you'll haave to figure out where your footer is, and how will this affect your layout...Not an easy job. Sorry.
:|

mostafaahmwd said...

شكرا لكم جميعا

Meaghan said...

Thank you SO much!!! You are amazing! :-) I'm so happy to be learning so much from you.

Licho said...

really nice... thank you... =)

கார்த்திக் said...

I was try to do this hack, this message wsa came

"Invalid variable declaration in page skin: Variable is used but not defined. Input: endSide"

Why?

pocket said...

கார்த்திக்,

try now. The style endside and startside caused the problem.
Copy the CSS from above, and it should be all right..
:]

Radith Prawira said...

i see u've updated ur template a bit.. nice job :) ..imo, don't you think it will be better if the lists on "how-to" made to be more readable, i mean, people won't see thing there rightaway unless they move their mouse there, just my 2 cents anyway, hope i'm not offend you.

Radith ^_^

pocket said...

Radith,

I'm not offended...And yup, I know it a mess, but I'm still working on it..Slowly.
I appreciate your concern, and please, criticize as much as you want. I love to hear what people think...
Smile!

Radith Prawira said...

i love the idea of organizing the 'how-to' list, especially the icons.. :) i'm glad i'm not offended you.. ^^

keep up the spirit, success for you :)

Yaniez said...

oo i see...
by the way, thanks for the information.. :-)

blogtrix said...

pocket you have closed the tag in
b:section class='footer' id='footer'/,
after removing the forward slash works fine,plez correct in your post if i am not wrong

pocket said...

blogtrix,

..it has to be closed. It's a default Blogger footer, and I've left it intact. As independent element, it HAS to be closed with /.
Ok?

Lorenz said...

blogtrix is right pocket. :) works for me.

Anonymous said...

Hi Pocket, thanks so much for your useful tutorial. I have a problem with customizing the footer column. It seems that the 3rd column is unable to be alligned with the first and second. Could you please take a look at the printscreen as below and comment what should i fix in the html code?

http://i3.photobucket.com/albums/y69/minphey/footercolumn.jpg

thank you!

Oatie.

pocket said...

Oatie,

...locate this part:

.column2 {
padding: 0px 5px 3px 5px;
width: 31%;
float: left;
margin:3px 3px 3px 5px;
text-align: left;
}

..and decrease the width to 29%. If it's still misaligned, decrease it more...

Anonymous said...

Pocket, I have tried:
1. column1 W:30%, column2 W:2%, column3 W:30%
2. column1 W:44%, column2 W:2%, column3 W:45%
but it doesnt work.

I had previously changed the width of the header wrapper to 780px, outer wrapper to 780px, main wrapper to 530px and side wrapper to 220px.

I'm wondering whether this is the root cause.
Kindly advise.
Thank you pocket!

Oatie

pocket said...

That's not good....Your CSS should look like this:

.column1 {
padding: 0px 5px 3px 5px;
width: 30%;
float: left;
margin:3px;
text-align: left;
}
.column2 {
padding: 0px 5px 3px 5px;
width: 28%;
float: left;
margin:3px 3px 3px 5px;
text-align: left;
}
.column3 {
padding: 0px 5px 3px 5px;
width: 30%;
float: right;
margin:3px;
text-align: left;
}

..and the Page Elements layout fix:

body#layout .column1 {
width: 30%;
float: left;
}
body#layout .column2 {
width: 28%;
float: left;
}
body#layout .column3 {
width: 30%;
float: right;
}


This can be a Page Elements View problem only...Do the columns appear properly when viewing the blog?

Anyway, this should fix it. If it doesn't, I'll have to take a peek to your Blog HTML...You can email me..

Anonymous said...

Yeah!! Thank you so much pocket! You're very smart :D

Oatie

Raja said...

i cant find the below code in my blog. Please help

my blog url is http://tamilposters.blogspot.com

b section class='footer' id='footer'

Raja said...

please help me.. i want to add that in my blog

Anonymous said...

Do you know why I am getting this error code

Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: The element type "div" must be terminated by the matching end-tag "

Error said...

Very great tutorial, exactly wat I was looking for.

I may have some questions though. What if I want to divide in 4 ?

Or what if I wanna keep 3, but make them smaller (so leaving more void between them ?Do I need to act on the .columnX or the body#layout .columnX for that ?

Thx a lot for you GREAT work !

I g

pocket said...

Raja,

..you are using a Sand Dollar template, which by default, doesn't even have a footer...To add one, first locate this line:

</div></div> <!-- end outer-wrapper -->

...and add this part ABOVE it:

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

...then, follow the instructions from the tutorial..

:]

pocket said...

Anonymous,

..what's your Blog? Usually, this happens when you delete some part of the code, or forget to paste one...

pocket said...

Error,

...to make 4 columns, you'll have to add:

.column4 {
padding: 0px 5px 3px 5px;
width: 20%;
float: right;
margin:3px;
text-align: left;
}

..and decrease the percentages in each column, so they can fit.

And add this part too:

<div class='column4'>
<b:section class='addwidget' id='col4' preferred='yes' style='float:right;'>
</b:section>
</div>

..And to make them narrower, just decrease their percentage value...

:]

Raja said...

Dear Pocket tank you very much i have added succesfully. thanks a lot

Shaz said...

Hi Pocket,
I tried these codes but the columns did not appear side by side. Instead I now have 4 horizontal footers. What do I fix in the code to make them side by side? Thanks.
Shaz

Raja said...

Thanks i have implemented in my blog
http://tamilposters.blogspot.com

Sheene said...

hello pocket.. thanks for the tutorial.. i was able to successfully create three columns for my blog footer before but i accidentally changed the template, ive fixed it back except for the three column footer.. tried again but it gives three rows of horizontal Add a Gadget element instead of three columns.. please help..
thanks..

Amalia said...

God Lord, just call me Remedial Rosie...Ahem, I can't seem to figure out how to copy the code and paste it in...I am selecting code, right click copy editing in MS Word and when I right click paste I get red squiggly lines.

Mikes said...

thanks a lot for this useful post! visit my site to check how i'm using it.

Your Daily Word

M3rLyn said...

hey. thanks for the info.

denzmeister said...

I want to give you a SUPER THANKS!!!! haha

Your such a big help! Bravo man.

ashley said...

sir, i did follow ur instruction and i got this error when im trying to uplod my template,
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: The element type "b:includable" must be terminated by the matching end-tag ""...
please help me solve this error, i tried some test and can't fix the error..i really like your post because i tried adding the 3column footer before and i cant make it..

Kathy said...

Worked great - thanks!

Anonymous said...

thanks a lot ;)

Kal Studio said...

pocket,

help me!
what happen to my page?

HappyHappyJoyJoy said...

THANK YOU! These were great instructions! Very clear!

Sandeep said...

The article is very descriptive and comprehensive.And it will be very useful especially for new bloggers.
My blog is www.techieway.blogspot.com

Trendsetters said...

good explaination..it worked for me..thank u

Emily said...

For some reason when I add anything to the sidebar it makes my footer columns go back to being a single column? What am I doing wrong?
MJ

Edo said...

I have the same problem wif Yaniez, I don't have footer wrapper...how can I create it manually? thx

$omething4u said...

Hi Pocket,

I'm using a Revolution Two Lifestyle theme template by Brian Gardner that doesn't have a footer. How do i add one?

I read one of your posts and my blog does not have "end outer-wrapper"
My blog is http://something4unme1.blogspot.com

Thank you
Zarina

lauraa. said...

is this code usable for headers too?

holly said...

yay! pretty easy thanks!

活鬼 said...

great!thank you!谢谢!
Smile And Remain Smile!

Adding a single column for the footer said...

Hello... I have a blog using one column template... The template isn't featured with a single column at the footer so i want to add it. Please me with the tutorial... Thank you before...

Rizal said...

help me with adding footer column on one column template. I tried this tutz with some adarting based on info at comments but the styling doesnt work... help me please... thank you before...

my blog is http://azarretestpage.blogspot.com/

Yasmin said...

It doesn't work for me. It just puts them all on top of one another, so I have something like this when I go to LAYOUT

Add Page Element
Add Page Element
Add Page Element
Add Page Element

What do I do?

JC said...

This is a great site. I've used quite a few of your tricks, and much improved our site. Thanks,
jc

Emii said...

hmm, it took a few goes, but i have the columns.but one problem -- two of them are in line, but one is slightly lower..?! please help!

Vinod Bangarshettar said...

Thank you....

Kanishka Kashyap said...

Hearty thanks to you buddy!
i tried a lot to a add footer in my revolution theme, but couldn't not make it for months.
finally this post helped me. Thanks so much.

kabirakhadabazarmein.blogspot.com

Make Money Online Today said...

good stuff thanks

Izhar Fareed said...

Hell their thank for the nice share it works fine but i want to add custom background of each footer column title and body.
Please help me out.

Thanks
Izhar fareed
ExtremeCircuits.Blogspot.Com
Visit My Site 4 FREE Electronics Circuit Projects

The Cynic said...

Great hack. I'be been lookin everywhere for this. The default Blogger templates are the easiest to work with in Blogger but they are so plain. I love to dress them up. Custom templates are so hard to work with, it's too bad. Anyway, the footer hack worked but the right footer column is lower on the layout page. Also, I've widened my tamplate and added a second sidebar, so I need to know how to adjust the margins on column three to push the text closer to the margin. Any ideas?

The Cynic said...

Also, my footer columns look like the are a little too fat to the right. How can i move the columns?

The Cynic said...

How can I move everything to the right a little? I'm stumped!

justme said...

Using basic blogger minima stretch template. getting this message; (in the di id section section code
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: The element type "div" must be terminated by the matching end-tag "

Cataloging My Life said...

awesome! thanks for the great instructions!

Mr. David Michael Merchant said...

Great step by step directions. My problem is that when I move side bar gadgets into the footer columns the side bar font and link colors only partially make it over - some of the link text is unreadable. I have been playing around with the CSS to get the footer font and link colors to match the side bar font and link colors (since both footer and side bar have similar bg color), but alas, to no avail. Drat and drat. I'm going blind trying to find where I can tweak the CSS. Any ideas would be appreciated.

Mr. David Michael Merchant said...

Also - font size in the new 3-column footer ignore the font-sizes set for all the rest of the blog as well.

izdelava spletnih strani said...

I have difficulties to set up footer. Are there any templates that i can freely change? Been searching and didnt find any

Nicole Jensen said...

Then again, if we all were paying him for his brains, he may come back ;) Where is your donate button sir? THANK YOU so much for this super awesome post!

Carlos said...

Pocket,

i get the message that reads :div must be closed... I tried to figure out which one was left open... but I get the feeling its more than that... i know it would have to closed... but which one? and Im sure you did not leave it open and Im copying and pasting carefully...
(im not sure when you say above it on step 2, exactly above where? immediately above ]] or above < / head...?

can you please take a look?: www.fotosdetelaymas.blogspot.com

I am just beggining to take my blog more seriously and I wish to make it simple yet functional...

I could also place a nice button for blogbulk, can you get me one?

thankfully,

carlos

﹏笨咖·мïï..♀ said...

cant..
the sistem write The element type "div" must be terminated by the matching end-tag "
How??

Wesley Soccer said...

Works great..thanks...check out my blog at
www.wesleysoccerblog.com

[ib] said...

Great one. Love it..

Anonymous said...

Finally a blog with a very clear and accurate information!
Many thanks

Aqeel Afzal Chaudhry said...

Hi I have tried your idea and it worked. but this wasn't the stuff i was looking for. infact if you see my blog, i want to use ur technique to make 5 or 6 columnns just above my main post area, where currently u will see a "label" gadget. (infact i want to add some picture gadgets side by side, just above my posts which always remain on my homepage as gadgets.)
Here is the link
http://paktvfree.blogspot.com

Julie McElroy said...

I have the two column in my side bar... it all works, but it only allows me the two columns at the END of the sidebar... is there any way to put a two column among the one column? Once I drag the gadget up, it changes it back to a one column....

dawiwo said...

Thanks soo much again, Pocket!! Stay healthy & happy!!!

Smile!!!

how to ollie said...

Excellent post and writing style. Bookmarked.

OnlineCash4Free said...

This is wonderful info! I'll probably share about this on blog to add some content. You laid things out simpily and the proccess worked perfectly. Great Work.

pocket said...

Julie McElroy,

it's probably the Blog width issue. You'll have to change the width, or adjust some margins to get what you want. Read this:
Change the width of your Blog

Smile!

pocket said...

izdelava spletnih strani,

try with Minima template (default). It's the easiest to mess around with...

Smile!

pocket said...

Carlos,

place the code Above (before) the "[["...

It works...

Sky said...

This is so well written, commendations for this piece.

lose weight fast

mrs_muffins said...

Hi, when I try to add this to my test blog it works fine but when I add it to my actual blog it seems to interfere with the jquery drop down menu... Any ideas on how to get around it? Thank you so much
http://mrsmuffins.blogspot.com

mel ardenio said...

Hi,
can you help me with my blogger template..the footer is not in line with the side bar..hope you can help me.

here's the my site.
http://www.melardenio.com

Mindi said...

I'm having the same problem as a few of the others that have commented. My 3 columns don't actually appear as columns at all, they are just stacked on top of each other. Do you know what I am doing wrong?

JG said...

yeah it's weird, i tried it once before with success and now i'm getting the same problem where they are all stacked on top of one another... please help

Tuhin said...

Hey pocket, Thanks for your awesome tips. But I need help . What I have to do to use only one single column at bottom. Im using Rockwell Premium Blogger template and it doesnt have any Column on footer. Can you kindly provide me with the code for single column.

my blog : isoftarchive.co.cc

Thanks.

pocket said...

Tuhin,

you're using a custom template. The best thing would be to contact the owner/designer or the web page you downloaded the template from.

If this tutorial is not doing the thing for you, you'll have to work harder. It's alway like this with customized templates.
Usually, designers change the names of the div's (elemets) in the template.

Play with it....

Smile!

mel ardenio said...

thanks for the reply.. I change my template from a more better one.

Katie said...

Hi Pocket! When I originally set up the footer columns on my blog, everything stretched automatically to fit the width of the center portion of my blog and it looked great. A few weeks later (without having made any changes), a space now appears on the right and left side of the footer columns. I'm not sure what to do to get it to adjust automatically to the width of the center part again. Do you have any suggestions?

Rafael Irizarry said...

I have a minima template with 3 columns, and when I add the 3 columns they just appear one in 3 different row, not side by side.

Sa Toya said...

Hiya I've got the same issue as Rafael how do I get the columns side by side?!

Skype said...

Hai Pocket I got LIke this

http://i40.tinypic.com/e8sbcz.jpg
What I Have to Do

dian said...

I wanna my blog posting font style to arial,would you teach me the tutorial to my email kepribadianrumit@gmail.com. Thank's.

Franchesca Cox said...

Hi thanks for the tutorial! I am having some problems this time (it worked fine last time). with this template i have four horizontal bars instead of three vertical ones. Can you help? thanks

RainNCandy and Charmaine said...

I am having the same problem as Franchesca Cox (right above me). I ended up with 4 vertical bars instead of 3 horizontal bars. Can you help?

Ebnat's Syukur said...

Thanks for the tuts, can u help me, how to create two and four colums to blogger footer?

chickenwaffle said...

thank you thank you!

seo services company said...

nice thxxxxxxxxxxxxx

Bollywood news said...

when I add the 3 columns they just appear one in 3 different row, not side by side.
help me?????

无奇不有 said...

Thanks the nice article, This is very useful!

dudiari said...

that good info i would like to try new template because my template is classic.

Homemade Mom said...

Help! I ended up with 4 rows at the bottom instead of 3 columns. Can you help? I can send you my html if that would help. I'm clueless!

www.homemademom.com

Tech and IT Updates said...

Hi, nice work. in this have a great resource about blogger. thanks for useful post.

Lisette said...

Can I do this with the sidebar too? I want it for long, so... maybe you can help :).
Lizz

پویا said...

thank you very much.This article was so helpful.
From Iran

Tina said...

I am having a problem moving the columns over to the right. I am not sure which margin settings I need to change. I messed around with it but nothing moved. I want the far left to be moved and the center and right are ok. My blog is below:
www.lost-n-book.blogspot.com

I have tried different tutorials and yours seems to be the easiest to understand and implement thanks for the outstanding tuts!

Sandy Montgomery said...

This isn't working for me either. I have the same problem in that it just added 5 new wide 'add gadgets' to the top of the list on the design page. I don't have in my html so I can't figure it out. SO disappointed!

Hard work is the key of success. said...

3 gadget columns come but they are in horizontal i want them in verticle help me out

Alaipupani said...

Thank You very much dude... it was really helpful to me. It works like charm.

mbt shoes said...

Do you like MBT shoes online MBT chapa buy it MBT chapa shoes with MBT lami free MBT lami shoes shipping MBT kaya over MBT kaya shoes us,we MBT M.Walk sell MBT m walk shoes on line mbt men shoes for mbt women shoes and vibram five fingers sale vibram five fingers sale is our discount vibram five fingers best cheap vibram five fingers choice cheap MBT chapa shoes thank cheap MBT lami to cheap MBT lami shoes see cheap MBT kaya it cheap MBT kaya shoes you can cheap MBT M.Walk go cheap MBT m walk shoes by cheap mbt men shoes click cheap mbt women shoes

Hello! I'm Kate. said...

This was all pretty easy! THANKS!

Any idea why only the first two columns line up evenly & the 3rd column on the far right sits so low?

Erwena said...

IS this doable with header ? Just between the blog title and the very first post ?

Edlyn said...

i can't find where is the

first step. xD the html part

吹水 - CHUI SUI said...

You saved the day! I don't want to switch template that I am using right now because of I want 2 or 3 columns for footer. Thank you!
My blog's footer is 3 columns now :)
http://outdatedpenanguncle.blogspot.com

Miss `Chievous said...

Hey thanks, nice tutorial! ;)

But got to change to for my blog to work!
http://orangepeelparaboloid.blogspot.com/

Anonymous said...

yeah really nice information...but am looking for 3 column header for my new website. http://www.hqwallpaper.in

Boby Bratu said...

i followed the steps but i can't find this code . i don't think i have it in my template ... what do i have to do?

Boby Bratu said...

the code from step 3...the one i have to delete...i can't find it in my template

Admin said...

I did exactly what you've said. But what I'm having is 3 horizontal gadget spaces, instead of vertical. Help..??

ansi said...

first i get error on my blog..
but following other comment.. i can repare it

Thanks...so halpfull...

ansi said...

my i copy a portion of your tutorial to my blog ini indonesian language..?

pocket said...

ansi,

of course you can!

Smile!

Anonymous said...

I added the codes, but they are in 3 rows instead of 3 columns. why?

thesydneygirl said...

best tute EVER! I've wanted to do this for so long and have finally done it. Thank you SO much!

Brad Fallon said...

how do i add a 2nd column without messing with the design template?

Farid Casablancas said...

It's works fine to me :) thanks a lot !!

hackersz said...

i cant do it...
dint find any ???

Joyce Carmo said...

Thank you very much for the help!

Your Blog is just awesome! It's the best help blogger for hacking blogger that I had visited!

I am customizing my template based on the Minima, and I have noticed that on this piece of code of your hack there's something that just don'f fit.

""

That "/" right before the ">" was messing up my modification. I don't know if it is an error of your piece of code, or a problem with my template. Just thought I should say that, in case more people was having the same trouble as me. I just took the bar off and it worked! =D

By the way, sorry for my poor english.

Anonymous said...

Hi Pocket, I need your help! I have added 3 Recent Posts gadgets to my footer. They all are displaying the same 10 posts. I want Gadget 2 to show the next 10 posts and Gadget 3 to show the following 10 post, thereby displaying the last 30 posts--10 per row/gadget--Is this possible??? Please Help!!!

ChasVoice said...

Not helpful for default template bloggers

ChasVoice said...

Not helpful for default template bloggers

Tanakwagu said...

i'll try but my template are made costumize. i cang find the placement
here http://cakap2u.info

eb5 visa said...

I am designing a new website and would like to include a 3 column footer. I am coding this website myself. I am not using wordpress or blogger. I want to have a fixed equal width footer.
Does anyone know how I can do this. If you could include code that would be brilliant. Thank you.

विष्णुनन्द चाम्लिङ्ग said...

Hello
Help me >>>>> I am unable to find

this letter in my Blogger's HTML

is there any other way to add footer column ?

thank you >>>

Herman Miller chair said...

I want a blogger theme to look & function similar to the OMG yahoo site. Where could i find or request one?

Say it...

Related Posts with Thumbnails