Three Column Minima Lefty Stretch - Two Columns on the Right
This blog is all about adding columns to free blogger templates, and this post will help you adding a third column to Minima Lefty Stretch. Note as of 11/28/09: thanks to everyone's constructive comments, I have improved these instructions. They now should be even easier to use. The two most common issues are columns dropping to the bottom of the page, or "squished columns" For the latter, carefully read my post on adjusting margins. For the former, your column width settings are wrong or you have existing widgets that are too wide for your newly narrowed columns. You'll need to reduce their width, or remove them. If you are looking for a three column tutorial for another blogger template, please look to the right under "three column mods". This tutorial will help you make a three column Minima Lefty Stretch blog with the main column on the left and two sidebars on the right. If you want a 3 column Minima Lefty Stretch blogger with the main column in the middle and one sidebar on the each side, see the main post on three column minima lefty stretch.
If you want both your sidebars on the right, this post is for you. So without further adieu, let's get started. First, open up Blogger and go into your Dashboard, then click on the "Layout" tab. Then go into the "Edit HTML" tab.
You will see a bunch of gobbledygook and gobbledygook it shall remain - you don't need to know anything about it. Just scroll down until you see the "Outer-Wrapper" section, it is marked by the following: /* Outer Wrapper. Easy enough, but an even easier way to find it is use your brower's control F (CTRL+F) command. You can just type CTRL F and then type /* Outer-Wrapper into the dialog box and click "next".
/* Outer-Wrapper
-----------------------------------------------
Now, change the width of the "main-wrapper" from 67% to 48%, and the float from $endSide to $startSide. Note that the html code "$startSide" is case sensitive:
#main-wrapper {
margin-$endSide: 2%; <-------change to $startSide
width: 67%; <-------change to 48%
float: $endSide; <-------change to $startSide
display: inline; /* fix for doubling margin in IE */
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 */
That piece of code should now look EXACTLY like this:
#main-wrapper {
margin-$startSide: 2%;
width: 48%;
float: $startSide;
display: inline; /* fix for doubling margin in IE */
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 */
Next, change the float of the "sidebar-wrapper" from $startSide to $endSide. Note that the html code "$endSide" is case sensitive:
#sidebar-wrapper {
margin-$startSide: 2%;
width: 20%;
float: $startSide;<-------change to $endSide
display: inline; /* fix for doubling margin in IE */
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 */
So far so good. Now, take this new block of code (below, in red) and paste it exactly as it appears directly in the space just before the */ Headings section. It's helpful to use "CTRL C" to copy, and then "CTRL V" to paste, if you didn't already know that trick. Regardless of how you cut and paste, you must paste the code directly in that space before the */Headings section and do not accidentally delete any code from the "#sidebar-wrapper" code above, including the "}" character at the very end. To paraphrase Monty Python, every character is sacred!
If you want both your sidebars on the right, this post is for you. So without further adieu, let's get started. First, open up Blogger and go into your Dashboard, then click on the "Layout" tab. Then go into the "Edit HTML" tab.
You will see a bunch of gobbledygook and gobbledygook it shall remain - you don't need to know anything about it. Just scroll down until you see the "Outer-Wrapper" section, it is marked by the following: /* Outer Wrapper. Easy enough, but an even easier way to find it is use your brower's control F (CTRL+F) command. You can just type CTRL F and then type /* Outer-Wrapper into the dialog box and click "next".
/* Outer-Wrapper
-----------------------------------------------
Now, change the width of the "main-wrapper" from 67% to 48%, and the float from $endSide to $startSide. Note that the html code "$startSide" is case sensitive:
#main-wrapper {
margin-$endSide: 2%; <-------change to $startSide
width: 67%; <-------change to 48%
float: $endSide; <-------change to $startSide
display: inline; /* fix for doubling margin in IE */
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 */
That piece of code should now look EXACTLY like this:
#main-wrapper {
margin-$startSide: 2%;
width: 48%;
float: $startSide;
display: inline; /* fix for doubling margin in IE */
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 */
Next, change the float of the "sidebar-wrapper" from $startSide to $endSide. Note that the html code "$endSide" is case sensitive:
#sidebar-wrapper {
margin-$startSide: 2%;
width: 20%;
float: $startSide;<-------change to $endSide
display: inline; /* fix for doubling margin in IE */
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 */
So far so good. Now, take this new block of code (below, in red) and paste it exactly as it appears directly in the space just before the */ Headings section. It's helpful to use "CTRL C" to copy, and then "CTRL V" to paste, if you didn't already know that trick. Regardless of how you cut and paste, you must paste the code directly in that space before the */Headings section and do not accidentally delete any code from the "#sidebar-wrapper" code above, including the "}" character at the very end. To paraphrase Monty Python, every character is sacred!
#right-sidebar-wrapper {
margin-$startSide: 2%;
width: 20%;
float: $endSide;
display: inline; /* fix for doubling margin in IE */
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 */
}
The new code block should look exactly like this:
#main-wrapper {
margin-$startSide: 2%;
width: 48%;
float: $startSide;
display: inline; /* fix for doubling margin in IE */
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 {
margin-$startSide: 2%;
width: 20%;
float:-$endSide: 2%;
display: inline; /* fix for doubling margin in IE */
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 */
}
#right-sidebar-wrapper {
margin-$startSide: 2%;
width: 20%;
float: $endSide;
display: inline; /* fix for doubling margin in IE */
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 */
}
At this point, believe it or not, there is only one more step. This particular step is hard only because you need to make sure you paste the additional code in the right spot, and this next spot can be a hard place to identify (CTRL+F helps here a lot).
Anyway, scroll down to the very end of the entire page. Several lines above the very end you will see the following:
<!-- spacer for skins that want sidebar and main to be the same height-->
Now, immediately above the line that says <!-- spacer for skins that want sidebar and main to be the same height--> and below the end of the "main-wrapper" div section (be careful not to delete any of the code in that section), paste in the following code EXACTLY as it appears below:
<div id='right-sidebar-wrapper'>
<b:section class='sidebar' id='right-sidebar' preferred='yes'>
<b:widget id='Subscribe1' locked='false' title='Subscribe' type='Subscribe'/>
</b:section>
</div>
<b:section class='sidebar' id='right-sidebar' preferred='yes'>
<b:widget id='Subscribe1' locked='false' title='Subscribe' type='Subscribe'/>
</b:section>
</div>
Note: this will also insert the RSS feed widget into your new sidebar, but you can delete that and add the widget of your own choice after you finish adding the column. Update 11/28/09: If you get an error message that says the widget ID should be unique, you have an existing RSS feed widget already loaded in your original sidebar and you'll have to delete that one temporarily. But don't worry, you can customize all of your widgets when you get the columns all set up. If you don't get this message, there's no need to worry about it - the button is just a placeholder and you can replace and rearrange all of your widgets when you finish. So, after you do that, the newly modified section should now look like this:
<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='BloggerButton1' locked='false' title='' type='BloggerButton'/>
<b:section>
</div>
<div id='right-sidebar-wrapper'>
<b:section class='sidebar' id='right-sidebar' preferred='yes'>
<b:widget id='Subscribe1' locked='false' title='Subscribe' type='Subscribe'/>
</b:section>
</div>
<--spacer for skins that want sidebar and main to be the same height-->
And you are a now master Minima Lefty Stretch coder, because you're done! Hit preview to see your new 3 column Minima Lefty Stretch layout, and then save the template. Best of luck with your blogging. I hope your new 3 column Minima Lefty Stretch template helps make your blogging even more fun and enjoyable!
Best of luck with your blogging. Links to this post are always welcome. If you would like to create a quick link in one of your posts or on your blogroll but are unsure how to do it, just insert this html string in your post text:
</a href="http://www.threecolumnblogger.com/">Three Column Blogger</a>
It will appear in your post text/blogroll as Three Column Blogger
Thanks!!
Labels: 3 Column Blogs, three column blogger, three column minima lefty stretch

49 Comments:
Hello there :) I'm currently using your Three Column Minima (Layout Version) http://www.threecolumnblogger.com/2008/09/three-column-minima-layout-version.html
and I would like to convert it to this Two Columns on the Right Side version.
I wanted to ask before I try this if I need to start from scratch with the basic template, or if can I convert from where I am now?
Thank so much!
Hi Melissa, that's YOUR three column minima layout template! :-).
You can convert to two columns on the right from where you are now, no need to start from scratch, switch all your widgets and so forth.
Just follow the above instructions for changing the float of your main column over the $startSide, fix your margins so there is enough space in between your columns and you should be all good! I think I will post a tutorial on it in the next few days - I'll bet it's a popular layout. I am also thinking of doing it on another blog I have.
Check back in a few days, and I will have a new one posted on it.
Cheers!
Hi, I love this template, but I'm having a problem getting the 3rd column to line up the middle one. It drops down below the end of column 2. Can you look at this link and tell me why when you have a chance?
http://featurefinder.blogspot.com/
thanks so much, Lori
RW- this worked great, thank you!!
What a wonderful site you have and it really made my blog look better. It appears I still only have 2 columns. Is there something I might have missed?
Thanks! Lenae
You may like to download Minima 4 column here:
http://www.9xhot.info/2009/07/minima-4-column-free-blogger-templates.html
hey bro i just made a new blog and i really need your help because i tried changing mine and i think you are the perfect person please help me!!! my email is andre-clarky@hotmail.com please email me when u get this so i can email u the template i really need it badly
well darn! I tried and got down to the bottom bit and I get an error:
Edit the contents of your template. Learn more
We were unable to save your template
Please correct the error below, and submit your template again.
More than one widget was found with id: Subscribe1. Widget IDs should be unique.
then I renamed it subscribe2 and had the same problem as Feature Finder...
HI,
thanks for the information.
i'Ve been trying to implement this, but I am having quite a weird issue.
The page shows properly in Firefox, and Chrome, but in Exporer is not showing properly at all. suddenly one of the sidebars disapeared and only 50% of the posts are showing
the page is this One
thanks
Hi Marti,
I see what you mean.
I just discovered the same problem in IE. So, I reduced the 2 sidebars to 22% each and left the body at 48% and it seemed to work for me.
Hope that helps,
jc
Thank you so much for this post, my blog looks wonderful now!
Well done!
http://infopaintball.blogspot.com
Thank you, thank you, thank you... for Melissa for asking the question & RW for answering so perfectly!
I just changed from the Three Column Minima Layout Version to this one, by changing ONE WORD!
Most Excellent.
Hi RW,
I've followed your directions word for word and wondered if you'd take a look?
I am not sure its right. Or is it? Would you take a look? fiendishlybookish.blogspot.com
Thanks Nickee!
Hi!
I like it is very useful to me.
Thanks a lot.
For mor info about SEO tips, Visit my blog.
by,
Tips of Collective Web Experience for Blogging Sites!
Cine Indians
This post has been removed by the author.
i made it with povertyphone.blogspot.com
This worked perfectly! Thanks so much! Very simple easy steps to follow.
Thank you so much! I have been trying to add a third column for a long time and thanks to your easy to follow instructions it worked. I can't thank you enough.
Thanks so much for your easy to follow instructions! My blog looks great - check it out!
http://flowergirl.blogspot.com/
Hello. I'm pretty new to html/css codes so I have no idea what I'm doing. I followed your exact instructions and everything turned out well on the layout, but when I view my blog, the sidebars are the bottom of the page and within the main-wrapper section. Even after reducing the size of the sidebars, I can't get them up to the top of the page.
Any helpful tips/advice? Thank you.
I tried this and got my three columns but the two smaller ones are both on the right side. How do I fix that? Help!
Never mind. I fixed it. I have the stuff at the end in the wrong order. Oops.
Now everything in my post is cenetered: the date, title, labels, etc. How do I fix that so it is lined up with the left side again like it was before?
How to link to this post or blog of yours? Thank you.
Hi,
Thanks so much for posting this. I just want to let you know that when you give the directions at first it is correct, but when you recap in the box below you mix it up.
It's three column, but now the middle column starts way at the bottom...? any suggestions?
me <3 it!
http://cigarettesandfashion.blogspot.com/
having trouble with this one
hi there!
thanks for your great tip! Someone wanted to charge me for this service!! U saved me!
i`m having trouble with the alignment... its like.. Shifted to the left and it looks so cramp!
my blog is theshopaholicsbar.blogspot.com
would totally appreciate your help :)
Looks great in Explorer, however, in Foxfire and Chrome it is only one unorganized column. Any fixes for this?
I am getting this message and I have already deleted the Subsribe feature, what do I do??
"More than one widget was found with id: Subscribe1. Widget IDs should be unique."
Oh I got it!! I just went into the HTML and deleted where mine still said "Subscribe1" ...not sure if that's right, but so far so good! Thanks so much for posting a how-to!
Check mine out:
ThankfullyThrifty.blogspot.com
Yay I got mine done. Two columns on the right thanks for the tutorial. I do appreciate it!
Wow, thank you! I have been trying to put together a new blog and this helped so much! I knew I wanted 3 columns, and I looked and looked for the perfect premade template that would work for me. Alas, I could not be satisfied with anything through all my searching, but I did not know how to do this myself. Thanks to you, I have a beautiful 3 column blog in the making!
Thank you- everything worked well and now I have a three column blog with the posts on the left :o)
This worked good. but
instead of the blog being in the middle i have it to the far left
and the achiv. and subscribers to the right.(both columns are the the right) can you help me??? i dont know what went wrong?
my email is... kellimajewski@yahoo.com
my blog is...
http://trashyvogue.blogspot.com/
thank you very much
I posted your link to http://www.linkreferral.com/adwel.pl?oldrefid=274566
to help you to advertise
Are you earning some money now with Adsense? Sure beats people donating (which was zero for me, then I gave up).
Oh btw, you like to check out some of my tips, tricks at my http://blogger-templates123.blogspot.com
Perhaps a Recent Comments widget.
Really helpful and easy to do.
thanks!
Hi RW, I am pretty sure that I followed all the instructions properly. However, I have a question. How do you know if it is set up right? My blog looks wider but where do you add the "gadgets" that would be on the left side.
Stacey
String Thing Challenge
Hi. I am so confused right now. I cant seem to find anything your asking for! I really want to get a three column thing but I cant seem to do it! I have layout, i think. please contact me as soon as you have time. Just leave a comment on my profile and ill give you all the info you need.
Thanx.
Thanks to you I was finally able to fit my third column in the way I've been wanting to FORever! Thanks!!
http://leeaverday.blogspot.com
my blog html does not have %s. i have recently used your tutorial to make my blog a 3 column layout but i wanted it with 2 on the right. I have scoured all over your site and i cant figure it out... this is what my section after the Outer-Wrapper looks like ....
#outer-wrapper {
width: 940px;
margin:0 auto;
padding:10px;
text-align:$startSide;
font: $bodyfont;
}
#left-sidebar-wrapper {
width: 225px;
margin-right: 10px;
margin-left: 5px;
float: $startSide;
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 */
}
nothing like what you have... and my layout isn't one that you put in your html coding so i know that didn't change it. any help???
Thank you so much!!! Your instructions were very easy. You are a God send!!!
<3, Jill
Thank you again for this great tut. I have a quick question that I have tried to figure out by myself and can't seem to make it work. I can't seem to add a background image. I have added the code:
body {
background:#7fe2f7;
background-image:url(http://lh5.ggpht.com/_yA_6K7ea4aE/S7H3JeoizmI/AAAAAAAABw8/fg8A01_lzbA/s800/3581598753_6aa97751cb.jpg);background-repeat:repeat-xy;
margin:0;
color:$textcolor;
font:x-small Georgia Serif;
font-size/* */:/**/small;
font-size: /**/small;
text-align: center;
}
But it doesn't show up. Any ideas?
thanks for your help.welldone
Post a Comment
<< Home