Since New Blogger, and the Pick New Template wizard, was launched, many bloggers have been wishing for a 3 column template. So far, Blogger hasn't provided us with one. There are several web sites that offer templates, and some 3 column templates, but using a third party template isn't always a great solution.
Fortunately, making a 3 column template from a 2 column template isn't all that hard to do, assuming that your blog doesn't use fixed width components as Rounders, Scribe, Son Of Moto, Thisaway, and TicTac templates do. You can still make 3 column displays with those templates, but they won't look as good.
A 2 column template has 2 columns, floating opposite each other.
All that you have to do is split the Main column.
A 2 column lefty template is just a mirror.
Again, split Main.
That's the concept. The execution is a bit tedious, but doable. But it really does work. Note that this exercise was conducted some time ago, and before the cross the board deployment of bi-directional templates, in support of blogs in Arabic and Hebrew.
This is probably as easy as importing a pre coded template. Note that this example uses a Minima template, in mint condition. If you've tweaked the Header code, or added main or sidebar objects, you'll deal with some variances. But you'll go through the same challenges if you import a pre designed template, and more.
First, backup the template that you have right now.
Next, go to the Edit Template wizard. Find two snippets of code.
The first, in the Header, at the top ...
And a second, in the Body, almost at the very bottom ...
And replace those two snippets of code with two slightly larger snippets. When you do this, carefully examine your current template, and what widgets you have in the Main (posts column) and Sidebar containers. Here, we have only BlogArchive1 and Profile1. If you've added any custom widgets to your main or sidebar columns (and almost everybody does, after any amount of time), be sure to copy the custom widget code from your current template to your new template!
The first ...
And the second ...
Save your changes.
Test.
And finally, backup the template, again!
Yes, it's that easy!
Now in this exercise, you took a standard 2 column template, and simply split the main column. What you have right now is probably a little crammed together. When you see that the 3 column layout works, you can try and widen the columns just a bit. And the simplicity of the coding aside, you'll likely find a challenge in getting the right column widths. That task might be easier by putting both sidebars immediately next to each other. Most standard Blogger templates, in mint condition, should be pretty similar, though templates that stretch will need a slightly different (and actually simpler) technique.
>> Top
Fortunately, making a 3 column template from a 2 column template isn't all that hard to do, assuming that your blog doesn't use fixed width components as Rounders, Scribe, Son Of Moto, Thisaway, and TicTac templates do. You can still make 3 column displays with those templates, but they won't look as good.
A 2 column template has 2 columns, floating opposite each other.
- Main, floating left.
- Sidebar, floating right.
All that you have to do is split the Main column.
- Main1, floating left.
- Sidebar2, floating left.
- Main2, floating right.
- Sidebar1, floating right.
A 2 column lefty template is just a mirror.
- Sidebar, floating left.
- Main, floating right.
Again, split Main.
- Sidebar1, floating left.
- Main1, floating right.
- Main2, floating left.
- Sidebar2, floating right.
That's the concept. The execution is a bit tedious, but doable. But it really does work. Note that this exercise was conducted some time ago, and before the cross the board deployment of bi-directional templates, in support of blogs in Arabic and Hebrew.
This is probably as easy as importing a pre coded template. Note that this example uses a Minima template, in mint condition. If you've tweaked the Header code, or added main or sidebar objects, you'll deal with some variances. But you'll go through the same challenges if you import a pre designed template, and more.
First, backup the template that you have right now.
Next, go to the Edit Template wizard. Find two snippets of code.
The first, in the Header, at the top ...
/* Outer-Wrapper
----------------------------------------------- */
#outer-wrapper {
width: 660px;
margin:0 auto;
padding:10px;
text-align:left;
font: $bodyfont;
}
#main-wrapper {
width: 410px;
float: left;
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 */
}
#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 */
}
And a second, in the Body, almost at the very bottom ...
<div id='main-wrapper'>
<b:section class='main' id='main' showaddelement='no'>
<b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog'/>
</b:section>
</div>
<div id='sidebar-wrapper'>
<b:section class='sidebar' id='sidebar' preferred='yes'>
<b:widget id='BlogArchive1' locked='false' title='Blog Archive' type='BlogArchive'/>
<b:widget id='Profile1' locked='false' title='About Me' type='Profile'/>
</b:section>
</div>
And replace those two snippets of code with two slightly larger snippets. When you do this, carefully examine your current template, and what widgets you have in the Main (posts column) and Sidebar containers. Here, we have only BlogArchive1 and Profile1. If you've added any custom widgets to your main or sidebar columns (and almost everybody does, after any amount of time), be sure to copy the custom widget code from your current template to your new template!
The first ...
/* Outer-Wrapper
----------------------------------------------- */
#outer-wrapper {
width: 660px;
margin:0 auto;
padding:10px;
text-align:left;
font: $bodyfont;
}
#main1-wrapper {
width: 480px;
float: left;
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 */
}
#sidebar2-wrapper {
width: 160px;
float: left;
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 */
}
#main2-wrapper {
width: 300px;
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 */
}
#sidebar1-wrapper {
width: 160px;
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 */
}
And the second ...
<div id='main1-wrapper'>
<div id='sidebar2-wrapper'>
<b:section class='sidebar' id='sidebar2' showaddelement='no'>
<b:widget id='BlogArchive1' locked='false' title='Blog Archive' type='BlogArchive'/>
</b:section>
</div>
<div id='main2-wrapper'>
<b:section class='main' id='main2' showaddelement='no'>
<b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog'/>
</b:section>
</div>
</div>
<div id='sidebar1-wrapper'>
<b:section class='sidebar' id='sidebar1' preferred='yes'>
<b:widget id='Profile1' locked='false' title='About Me' type='Profile'/>
</b:section>
</div>
Save your changes.
Test.
And finally, backup the template, again!
Yes, it's that easy!
Now in this exercise, you took a standard 2 column template, and simply split the main column. What you have right now is probably a little crammed together. When you see that the 3 column layout works, you can try and widen the columns just a bit. And the simplicity of the coding aside, you'll likely find a challenge in getting the right column widths. That task might be easier by putting both sidebars immediately next to each other. Most standard Blogger templates, in mint condition, should be pretty similar, though templates that stretch will need a slightly different (and actually simpler) technique.
>> Top
Comments
I am trying to add a third column to this blog:
http:/bbqsauces.blogspot.com
First off, I am NOT a computer person by any stretch of the imagination, so maybe I am missing something very basic. If so, feel free to let me know. Don't worry, I have thick skin.
I didn't see the text that needs to be replaced as you had listed it. Should I approximate?
I cut an pasted the text that needs to be inserted, but couldn't find the exact text that should be replaced.
Any help would be appreciated. Thank you,
Eric
Your blog uses a (rather customised) version of the Sand Dollar template. SD is a stretch template, which is slightly different from Minima, which is what this article is based upon.
Give me a couple days, I will make a 3 column stretch template.
Give this effort a go. It's similar in detail to the article above, but uses stretch widths, as does the Sand Dollar template. I'm not sure how that will fit with your customisations, so be very careful here!
Minimally, if you've added custom objects to the main and / or sidebar containers, you will have to _carefully_ copy them, manually, from their current Main / Sidebar locations, to be within Main2 / Sidebar2. Look at the BlogArchive1 and Profile1 widgets, as examples, in my code.
Please do not omit backing up the template, before and after!
I'll help you, but it will be easier done through Google Blogger Help - Customising Templates. Blogger Comments are terrible for interactive problem solving. Use GBH, please.
You may not have to add the new element directly in the new (left) column. See if you can add it where there is a link, then re position it.
Thank you.
Splitting the main column doesn't take away horizontal space from the posts, it just makes the new sidebar float away from the posts.
If you add a new column, something has to become thinner. Either the original sidebar, or the posts, will have less room. Pick one.
Maybe try both sidebars next to each other, or try a 3 column stretch template.
You have a stretch template. Making a 3 column stretch template is easier.
Could you help me how to fix this?
These are good questions for BHF: How Do I?. Peer support beats email discussions.
http://diah-aryanti.blogspot.com/
I have no experience of HTML-coding at all and am completely unknowing of the beautiful world of technology. But this was understandable and easy to do.
It was really simple. And it worked!
Make the photos smaller, or make the columns wider. Or don't do a 3 column template.
After two hours of trying to make this work, I'm stumped and I found no one else on your posting with the same issue. Could you please suggest where I edit the code. Check out the draft blog, my problem is self-evident. http://logisticdev.blogspot.com/.
Thanks, Jason
Here's where I advise you to post in Blogger Help Forum: Something Is Broken, so we can review the nesting and float settings for each container. You have both the Main and Left Sidebar floating left, and it looks like they are both in one container together. Get peer support, please.
It's all thanks to you! =)