
As more and more websites start writing content about the same topics, a first (and lasting) impression is becoming the most important factor of blogs today. You need to make the best first impression that you can make on new visitors and one of the techniques that I am going to share with you today is a useful blog footer. By providing users with links to popular articles, latest comments or even a RSS Subscription button, you can harness the power of people’s curiosity.
This blog footer code should work on most blog structures and formats – If you need help implementing it, feel free to leave a comment and I’ll get back to you.
The 4 Column Blog Footer HTML:
<div id="footercontainer"> <div class="footer"> <div class="column1"> <h5>01. Subscribe!</h5> <!--- The First Column of The Four Column Blog Footer --></div> <div class="column2"> <h5>02. Hand-Picked Articles</h5> <!--- The Second Column of The Four Column Blog Footer --></div> <div class="column3"> <h5>03. Share The Wealth</h5> <!--- The Third Column of The Four Column Blog Footer --></div> <div class="column4"> <h5>04. Contribute</h5> <!--- The Fourth Column of The Four Column Blog Footer --></div> </div> </div>
So the above code is the (W3C.org Valid) HTML for the four column blog footer. Where I have the comments, you can simply delete them and add the appropriate widget code, text or link lists. Some good things to use would be:
- Get Recent Comments
- Top Commentators
- Sociable Icons
- MyBloglog, BlogCatalog, etc widgets
However, in order to enhance your blog’s impression, I would highly suggest that you do not clutter the footer with too many widgets, links, etc. Simple IS better (and usually results in higher clickthroughs). ![]()
Create Your Own 4 Column Blog Footer CSS:
That code by itself does nothing as far as styling goes… so we have to make it beautiful. ![]()
#footer {
border-top:1px solid #ccc;
font: 15px Helvetica,serif;
line-height:22px;
background: #1a1a1a; /* Change this to change the footer background... IE an Image: "url(img/postfooterbg.png) repeat-x;" */
height:320px; /* If you change this value, be sure to change the footer's height as well as the column's height. */
}
.footercon {
width: 950px;
height: 310px; /* If you change this value, be sure to change the footer column's height as well */
margin: 0 auto;
}
.col1 {
float: left;
width: 220px;
margin-top: 15px;
margin-right: 15px;
margin-left: 10px;
height: 280px;
}
.col1 h4, .col2 h4,.col3 h4,.col4 h4 {
color: #FFF;
font-size: 16px;
text-align: left;
font-variant: small-caps;
font-family: Arial;
margin:0px;
padding-bottom: 5px;
}
/* This controls how the blog footer's regular text looks - Feel free to change the colours/font family */
.col1 p, .col2 p,.col3 p,.col4 p {
color: #FFF;
font-size: 12px;
text-align: left;
font: 14px Helvetica,serif;
line-height:22px;
margin:0px;
padding-bottom: 5px;
}
/* This controls how column 2's list items hyperlinks look as well as column 4's hyperlinks - Feel free to change the colours/font family */
.col2 ul li a, .col4 a {
color: #EEE;
font-size: 12px;
text-align: left;
font: 14px Helvetica,serif;
line-height:22px;
margin:0px;
padding-bottom: 5px;
}
/* This controls how the blog footer's hyperlinks look - Feel free to change the colours/font family */
.col2 ul {
color: #EEEEEE;
}
.col2 {
float: left;
width: 220px;
margin-top: 15px;
margin-right: 15px;
height: 280px;
}
.col3 {
float: left;
width: 220px;
margin-top: 15px;
margin-right: 15px;
height: 280px;
}
.col4 {
float: left;
width: 220px;
margin-top: 15px;
height: 280px;
}
Conclusion and Blog Footer Inspiration:
By addressing a visitor with a complete and professional blog footer, you can take advantage of their interest and pressure them into more visits to your website. With the code above, anyone can harness the code and use it to their advantage for their blog or website!
And now for some pictures of people that have created their own blog footer… use some of these pictures for inspiration!



















29 Comments
That was really nice article.
It looks better on your footer too.
Abhilash´s last blog ..Five advanced rules to bike driving | 5 Motor bike rules for passionate drivers
Thanks Abhilash!
Glad you liked the article
i want to know if i want to build a site , should i have to master the html knowledge?
You don’t need to master the “HTML knowledge”, but a working idea of how HTML processes itself through different tags often helps
Good article!
Thanks!
Thanks for the post. I’m going to try to use some of these tips. Looking to revamp my blog and get away from the standard templates!
Glad to hear it.. Customization is one of the most critical things that bloggers can do to stand out!
Hello Brad,
If I will paste this to my footer.php, can I still get back the old file if this will not work for me?
Rian´s last blog ..Cheap Motorcycle Philippines – Brand New and 2nd Hand Motorcycles
Hi Rian,
You can do one of two things to revert back to your old version of footer.php:
1) Make a backup of your footer.php through FTP on your computer.
2) Delete the tag through Wordpress’s built in HTML editor, none of these changes are permanent!
very interesant y modern article!thanks!
studiare all’estero´s last blog ..non lontano da Madrid…Extrema y dura
This was a great article. Thanks so much for the code – I am still trying to learn all the ins and outs of promoting my blog.
Thanks,
Angela S
Angela Strunk´s last blog ..History of Baseball Gloves
Hi Angela,
Your welcome! Glad that you found a use for it.
does float: left; giving enough trouble. i have used this in my website’s two column layout. but what i feel is it is giving more trouble like, the browser have no way to find the hight of the container div.
Finally i ended up using a javascript to find the height of the current window and change the height of all the floating divs. I dont know it is the right way, but i felt like i am doing some work around than implementing a straight forward approach.
freeze gridview´s last blog ..LINQ and Entities for binding GridView
Hmmm.. I’m not sure why you would use javascript to find the height of a fixed container.. Could you elaborate?
hi since the items contained in the container are floating the browser will not be able to calculate the height of the items. so what we need to do is find the height of the container and apply the height to the items that are floating. It may looks like unclear, but search for “float and hight issue ” you will know what i mean
freeze gridview´s last blog ..Free guestbook HTML by visual basic source code
The column section’s height is determined in the CSS file. There is no need to apply a height property to a float property.
Thanks for the tutorial.
Footer is my favourite part of web design. When I’m browsing WordPress themes, I prefer theme that has widgetised footer.
P.S. hehe I spot my avatar on the screenshot.
HAHA! It appears we have similar tastes.
I should of made this footer widgetized, that is a good point. I’ll keep that in mind for future posts.
Thanks for the review. I’m not much of a “code girl,” but your presentation feels so straight forward that I may give it a shot…
I like the way in which you laid out the components within your footer. From a design perspective, I think that this approach would be ideal for those that don’t have too much packed into sidebars.
Let me know how it goes!
Hi!
I’m wondering if I can take this code and put it into the body of an html page rather than as a footer? I have been looking everywhere for code to generate 4 equal colums. You can see my site here:
http://www.libertytreephotography.com
Currently on the bottom of the main page I have 3 colums but I’d like 4 instead. Yes, this is in the place of the footer on this page, however, I don’t want to in the footer of all pages, just this one. So, I wanted to add it to the bottom of the body of this page. Does that make sense? I’ve tried copy and pasting your code but it’s not working. Any suggestions?
Thanks so much! This looks like a fantastic site!
Hi Emily,
If I’m correct, I think your trying to paste this code inside of your content div class. If you could paste this code just above your < / body > tag in your HTML document, I believe that you would be able to use the 4 column footer.
Try that and let me know the results.
Hi Brad… Hmmm… Ok, I guess I am doing something very wrong. I am working with a Squarespace template, not sure if that makes any difference. There are several Code Injection points where I tried to paste your code and when I refresh the page, in place of where the foue columns should be is just the coding written out. I have tried injecting the code in all of the various spots and nothing works.
So, first, let me as this: Do I just copy and paste the code from above or do I need to make changes first? I was hoping to paste it and get it working and then change the functional elements after.
Can you walk me through the process in even similer terms? Thanks!!
Ok, so I put the code somewhere else and am now one step closer… the problem is that is it just one long length of words and images (not code anymore so that’s good) rather than the 4 columns. The problem may be that the inside of my canvas is 800px wide and I believe this code is written for 900 wide? I tried to change the parts where I saw the width of 900 but maybe I need to change other areas as well?
This post is so informative and useful. Its really a cool tutorial. Really enjoyed it and will be trying that on my blog. Cute!
Thanks!
This post is so informative and useful. Its a cool tutorial. Really enjoyed it and will be trying that on my blog. Cute!
Thanks!
Thank you for the information . Google webmaster offer a special tool to speed up your blog/website . It can help
What is the HTML Code? i only see,
01. Subscribe!
02. Hand-Picked Articles
03. Share The Wealth
04. Contribute
5 Trackbacks
[...] 25.How To Create Your Own 4 Column Blog Footer-Html and CSS Included [...]
[...] 25.How To Create Your Own 4 Column Blog Footer-Html and CSS Included [...]
[...] 25.How To Create Your Own 4 Column Blog Footer-Html and CSS Included [...]
[...] 25.How To Create Your Own 4 Column Blog Footer-Html and CSS Included [...]
[...] 25.How To Create Your Own 4 Column Blog Footer-Html and CSS Included [...]