Three Column Blogger: Three Column Minima Lefty Stretch - Two Columns on the Right

Saturday, June 13, 2009

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!


#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>


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: , ,

Stumble Upon Toolbar Bookmark and Share




49 Comments:

Blogger Melissa said...

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!

June 16, 2009 8:38 AM  
Blogger RW said...

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!

June 17, 2009 2:52 PM  
Blogger Feature Finder said...

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

June 27, 2009 3:50 PM  
Blogger Melissa said...

RW- this worked great, thank you!!

June 30, 2009 5:07 PM  
Blogger Lenae May said...

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

July 9, 2009 10:40 AM  
Anonymous 9xhot.info said...

You may like to download Minima 4 column here:
http://www.9xhot.info/2009/07/minima-4-column-free-blogger-templates.html

July 16, 2009 2:31 AM  
Blogger Andre said...

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

July 16, 2009 3:34 PM  
Blogger CailinMarie said...

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.

July 21, 2009 1:10 PM  
Blogger CailinMarie said...

then I renamed it subscribe2 and had the same problem as Feature Finder...

July 21, 2009 1:11 PM  
Blogger Martí said...

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

July 26, 2009 2:48 PM  
Blogger JC said...

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

July 26, 2009 3:16 PM  
Blogger ShopperDiva said...

Thank you so much for this post, my blog looks wonderful now!

August 3, 2009 11:28 AM  
Blogger PB4LVince said...

Well done!
http://infopaintball.blogspot.com

August 3, 2009 8:45 PM  
Blogger Vic said...

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.

August 6, 2009 2:00 AM  
Blogger zombietemptress said...

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!

August 9, 2009 2:44 PM  
Blogger Titus said...

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

August 23, 2009 11:30 PM  
Blogger Carl Paolo said...

This post has been removed by the author.

August 29, 2009 8:55 PM  
Blogger Carl Paolo said...

i made it with povertyphone.blogspot.com

August 29, 2009 8:56 PM  
Blogger Tesa said...

This worked perfectly! Thanks so much! Very simple easy steps to follow.

August 30, 2009 5:36 AM  
Blogger Valerie said...

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.

August 30, 2009 9:05 PM  
Blogger Cindy Stone said...

Thanks so much for your easy to follow instructions! My blog looks great - check it out!
http://flowergirl.blogspot.com/

September 17, 2009 6:37 AM  
Blogger Jessiccha said...

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.

October 8, 2009 11:10 AM  
Blogger Melanie said...

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!

October 11, 2009 7:25 AM  
Blogger Melanie said...

Never mind. I fixed it. I have the stuff at the end in the wrong order. Oops.

October 11, 2009 7:31 AM  
Blogger Melanie said...

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?

October 11, 2009 7:37 AM  
Blogger irwanwr said...

How to link to this post or blog of yours? Thank you.

October 11, 2009 11:30 AM  
Anonymous Anonymous said...

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.

October 24, 2009 10:51 PM  
Blogger Jacqueline said...

It's three column, but now the middle column starts way at the bottom...? any suggestions?

November 6, 2009 8:53 PM  
Blogger Alia said...

me <3 it!
http://cigarettesandfashion.blogspot.com/

November 9, 2009 5:18 PM  
Anonymous internet strani said...

having trouble with this one

November 13, 2009 4:56 AM  
Blogger The Shopaholics Bar said...

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 :)

November 16, 2009 5:06 PM  
Blogger David Chaplin said...

Looks great in Explorer, however, in Foxfire and Chrome it is only one unorganized column. Any fixes for this?

November 29, 2009 11:52 AM  
Blogger Thankfully Thrifty said...

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."

December 2, 2009 6:09 PM  
Blogger Thankfully Thrifty said...

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

December 2, 2009 6:13 PM  
Blogger Manang Kim said...

Yay I got mine done. Two columns on the right thanks for the tutorial. I do appreciate it!

December 5, 2009 7:12 PM  
Blogger Erin said...

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!

December 13, 2009 7:11 AM  
Blogger J. Paige said...

Thank you- everything worked well and now I have a three column blog with the posts on the left :o)

December 26, 2009 5:26 AM  
Anonymous Kelli M said...

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/

December 27, 2009 9:26 AM  
Blogger princio said...

thank you very much

January 5, 2010 1:50 PM  
Blogger leathergloves said...

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).

January 7, 2010 4:57 AM  
Blogger leathergloves said...

Oh btw, you like to check out some of my tips, tricks at my http://blogger-templates123.blogspot.com

Perhaps a Recent Comments widget.

January 7, 2010 4:59 AM  
Blogger Marion said...

Really helpful and easy to do.
thanks!

January 10, 2010 12:12 PM  
Blogger Stacey said...

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

January 14, 2010 3:38 PM  
Blogger BookFreak said...

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.

February 4, 2010 7:25 PM  
Blogger Lee Verday said...

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

February 25, 2010 10:47 PM  
Blogger Trippy Momma said...

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???

March 8, 2010 12:08 PM  
Blogger Jill Baer said...

Thank you so much!!! Your instructions were very easy. You are a God send!!!
<3, Jill

March 16, 2010 10:18 AM  
Blogger Kim @ seven thirty three said...

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?

March 30, 2010 6:09 AM  
Anonymous infokit.co.cc said...

thanks for your help.welldone

April 11, 2010 12:37 AM  

Post a Comment

<< Home