Free Blogger Beta Template

Free Blogger Beta Template

Find and share blogger beta template here

Create a three column Blogger template

In this tutorial, I'll explain how to create a three column template in Blogger layouts, using the Minima template as a starting point.

The Minima template is the easiest Blogger template to customise, as this is the simplest two column template, and has few parameters regarding margins, padding and the like. Once you have developed the third column, it will then be easier to alter font-size, colours and such so leave this until later on. We're going to concentrate on the actual layout first.

First of all, set your template to Minima (not the stretch template, but any colour will do!), then follow these instructions:

  1. Go to Template>Edit HTML, leaving the "Expand widget templates" box unchecked.
  2. Now, find this section in the HTML code:
    #sidebar-wrapper { width: 220px; float: right; word-wrap: break-word; /* fix for long text breaking sidebar float in IE */ overflow: hidden; /* fix for long non-text content breaking IE sidebar float */ }
    Copy this entire section, and paste it directly below. We're going to change the elements I've highlighted in red to the following:
    #left-sidebar-wrapper (this makes the css for this section unique) float: left (this will make the new sidebar float to the left of the main column)
    This will provide the styling for the new sidebar element which we will create next.
  3. Now, you need to find this section further down the page:
    <div id='main-wrapper'>
    . Immedietly before this section, you should paste the following piece of code:
    <div id='left-sidebar-wrapper'> <b:section class='sidebar' id='left-sidebar' preferred='yes'/> </div>
    Let me explain the elements of this code to help you understand what we've just done:
    • <div id='left-sidebar-wrapper'> This section tells the browser that the left-sidebar element exists here, and to look in the css for the appropriate styling for this element.
    • <b:section class='sidebar' id='left-sidebar' preferred='yes'> This tells the browser the class of the sidebar element and all other elements (widgets) which may be included in this section. The ID of this element must be "left-sidebar" in order to make it unique, otherwie this would cause problems when viewing. It is preferred so that it will feature in the layout, even if no widgets are placed within it.
  4. If you preview your template, you will notice that the right sidebar will be beneath the main section at the moment. This is because the outer-wrapper is still only wide enough to accomodate one sidebar. So now we need to expand the oputer wrapper to accomodate this new sidebar. Find this section in the HTML code:
    /* Outer-Wrapper ----------------------------------------------- */ #outer-wrapper { width: 660px; margin:0 auto; padding:10px; text-align:left; font: $bodyfont; }
    We need to increase the width of the wrapper by the width of the left-sidebar-wrapper, in this case 220px. So, change the value in red to 880px.
  5. You may also want to change the width of the header-wrapper to 880px so that it spans the new width of your blog:
    #header-wrapper { width:880px; margin:0 auto 10px; border:1px solid $bordercolor; }
  6. At this point, you should save your template. At present, your new sidebar will not be seen as there are no widgets contained within it, though it will still be present in the markup of the page. Once you have saved your template, go to Template>Page elements in your Blogger dashboard.
  7. Your layouts section should now look something like this: You can now add a page element (or two) to your new left sidebar.
  8. But we aren't quite finished yet! If you add anything to this left sidebar, you will probably notice that it jams right up to the main section, like this: This is because there is no space defined between the left-sidebar and the main section. We need to create this space in the template's HTML. To do this, we will add a margin to the left hand side of the main posts section. Find the following code in your template's HTML and add the code defined in red:
    #main-wrapper { width: 410px; float: left; margin-left: 20px; word-wrap: break-word; /* fix for long text breaking sidebar float in IE */ overflow: hidden; /* fix for long non-text content breaking IE sidebar float */ }
    This defines a margin space of 20px between the left-sidebar and the main column. You should also ensure you adjust thw width of the outer-wrapper from 880px to 900px to ensure the width of your blog is enough to accomodate this margin too. Either that, or you could reduce the width of your main column/a sidebar by 20px to serve the same purpose. Now, your previewed template should look more like this:
  9. Finally, save your template and enjoy your new sidebar!

The same principles described here can help you create a three column template from any Blogger template, though you may find that you'll need to adjust the width, margins and padding for your new sidebar in order for it to look the way you would like.

Also, you can configure your new sidebar to float to the right, and have two sidebars on the right of the main column if you prefer. Simply set the CSS of your new sidebar to float: right; instead.

Here is a download of the three column Minima template for reference (or if you prefer to use a preconfigured template instead!):

Download 3 column Minima template

For more Blogger templates to download, please have a look through the Templates section here at Blogger Buster.

Technorati Tags: | | | |

Sponsors
Comments
Showing last 25 of 29 (show all)
now no need to work with xml code to have three column beta blogger templates . Download it free with hack to easy navigation.
Thanks a lot...
yeah!!! im done,,thanks~ but lil bit error~
Thank you, thank you, thank you, thank you!!! I have tried tutorials on at least 3 other sites before finding yours and failed every time! I had just about given up hope but your tutorial really helped!!!!
Great Tutorial! I am new to blogging and wanted to start with the basics. Your tuturial on how to add a third column was easy to understand for a novice "coder" like myself. Great work!!
Thank you so much for this tutorial. I would never have thought I would be able to do something like this but your instructions were excellent. Kind Regards Umm Salihah of www.happymuslimmama.com
That's great but how do I make it work on MY template :-) Michelle http://primalmommies.blogspot.com
How can i make this code for parchment template?
Not sure where I went wrong. Left side bar is at top, Posts are in center about half way down and right side bar is at the bottom right? Help. Lori
Amazing. Thank you.
good work....but i found out a new problem using it....the photo's don't get uploaded to header or get displayed... second thing is quick edit & direct posting to of links to others too won't work with the above edited script... so kindly give me some solution towards those issue's too. thanking you.
That was awesome and SO EASY to read. Thanks.
Good work dude....your tutorial works like a charm Fawzy wangandrift.blogspot.com
Thank you! After following your fabulous tutorial I'm beginning to get a feel for how it all works. I'm now not afraid to try tweaking other things to get my blog just the way I want it.
Thanks a lot! :D
Why doesn't anyone have a 3 column blog layout that we can simply copy/paste into our Add Gaget area for customizationat Blogger?
Thank you for the best tutorial in the world. I am eager to make a blog. (sorry for my stupid english)
Wow!! This is exactly what I've been looking for!!! Now my blog looks as I had always envisioned it!! Thanks so much!!
awesome... i've looking this tips. thxs
I STILL DONT NO WHAT TO DO
How about Create a three column Blogger template for Sand Dollar - Rounders 3? Would you please to help me. Many Thanks before
How about Create a three column Blogger template for Sand Dollar - Rounders 3? Would you please to help me. Many Thanks before
I had spent hours looking for a 3-column Minima template and all of them were junk! You, my friend, are a genious! Thank you so much for providing this fantastic tutorial. I don't know a thing about codes, but I followed this tutorial to the letter and didn't try to read into it or even understand it...just followed your instructions and they worked like a charm! I was even able to adjust the header perfectly for my logo. ABSOLUTELY AWESOME! THANK YOU SO MUCH!!!
This is very good. My web blog: ulesson.blogspot.com
Great stuff! Thanks!

http://www.etsytreasurechest.blogspot.com
Add a Comment:
Already a member? Log In
Sponsors
About the Author

28 Kudos
Top Culture Articles
Top 10 Questions about Body Piercing
"Finally got myself some guts and did this! And oh yes, it hurt!"
Kelly Brook voted 'Best Bikini Body Ever'
Better get into shape if you want to flaunt your figure like Kelly does.
Odd and Extraordinary Beauty Pageants
The party doesn't really start until Miss Klingon, Miss Plastic Surgery and Ms. Pregnant show up.
More From Zimbio
Copyright © 2009 - Zimbio, Inc. Some rights reserved.