48 Create Extra Columns in your Blogger Layout - Magazine Style!
July 09, 2008 /

One of the newest (and popular) trends of blog design is the magazine style layout. As the name suggests, this design style presents content in magazine format where extra columns and content are featured on the home page, offering readers an overview of the entire site.

At present, Blogger Buster's home page features a magazine style layout. Rather than display a list of recent posts in typical blog style, the home page summarizes the most recent post, followed by links to other articles by category, and additional information about the site.

Many readers have requested a tutorial to create a similar layout for their own Blogger powered blogs, so in this tutorial I'll explain how you can add extra columns and widget sections on your blog's home page to create a magazine style layout of your own.


How Magazine Style Layouts Work in Blogger

In this template (and also in the Blue Steel template), I have added extra widget sections beneath the main posts column. This allows me to add (or change) the content displayed on the home page from the Page Elements section of my dashboard, without having to manually change my template code.

Also, I have used the b:if function to prevent these widgets from being displayed on post and archive pages (where they are not required).

To create a magazine style for your own blog, you will need to make two main changes to your template:
Insert the code required for your new widget sections
Add relevant styling code to the <b:skin> section of your template to change how these widget sections appear.


In this tutorial, I will explain the simplest method of creating a magazine style front page. This involves adding two columns for widgets (to appear side by side) beneath the main posts section of your blog. Once you have added these sections, you can add widgets and change the settings for your blog to alter the appearance and overall look for your template.

Be sure to back up your existing template before making any changes! Then if you change your mind about your design (or make mistakes during the process) you can easily restore your template.

To make a back-up of your existing template, go to Layout>Edit HTML in your blog's dashboard and click on the "Download full template" link. This will save your template as an XML file to your computer.



Add new widget sections below your posts

To add new columns for widgets below your posts, we will need to add some code to the main posts section of your blog.

Go to Layout>Edit HTML in your blog template, and do not check the "expand widget templates" box. Then search for this section of code in your template:

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

In your own template, this section may look a little different. For example, you may find <div id='main'> or <div id='content'> instead of <div id='main-wrapper'>.

If you are having problems locating this section, use your browser's search function to locate the phrase "blog posts" or "Blog1", and be aware of the surrounding b:section and div tags.

Once you have found this section in your template, you will need to copy and paste the following code just after the closing </b:section> tag and before the closing </div>


<b:if cond='data:blog.url == data:blog.homepageUrl'>
<b:section class='sidebar' id='magazine-left' showaddelement='yes' >
<b:widget id='Text51' locked='false' title='Test Title 1' type='Text'/>
</b:section>

<b:section class='sidebar' id='magazine-right' showaddelement='yes' >
<b:widget id='Text52' locked='false' title='Test Title 2' type='Text'/>
</b:section>

<div style="clear: both;"></div>
</b:if>
By adding this code, we have inserted two extra widget areas which contain a "dummy" text widget so you can preview their appearance. These sections are also contained in <b:if> tags, which determine they are only seen on your blog's home page.

At this stage, you can preview your template and will see these dummy widgets appear below your posts section. However, as we have not yet styled these sections, they will appear beneath each other rather than side by side.


Adding style to your new widget sections

Now that we've added the code required for our new widget sections, we need to add some styling code to ensure they appear side by side.


For this, locate the closing </b:skin> tag in your blog's template. Just before this tag, you should paste the following section of code:


#magazine-left {
  width: 45%;
  float: left;
}
#magazine-right {
  width: 45%;
  float: right;
}

Then preview your template. Now you should see your the titles for the dummy widgets appear side by side with a gap between them. These titles should have similar styling to your sidebar headings and match the overall theme of your template.

Once you are sure everything looks okay, you can proceed to save your template.

If you do receive an error when attempting to preview or save these customizations, click the "Clear edits" button and begin adding your code from the beginning, being extra careful when copying and pasting this code.



Adding widgets and styling your home page

Now that you have added the required code for your magazine style front page, you may want to remove the dummy text widgets and replace them with your widgets of choice.

Simply go to Layout>Page elements in your Blogger dashboard, where you will see your new widgets appear below the Blog Posts section like this:



Click on the edit link for the existing "Test Title 1/2" widgets, and choose to remove these if you prefer. Then add new page elements of your choice to customize the appearance of your blog's home page.

You may also prefer to limit how many posts are displayed on your blog's home page so that your new widgets will feature higher up on your blog's home page.

To change the number of posts which are displayed, go to Settings>Formatting and choose the number of posts to display using the first option on this page:



In many magazine style blogs, only one post is displayed on the home page, but if your posts are short, it should be acceptable to post more than one without affecting the overall look and style of your design.



More ideas for your magazine style design

If you want to take your magazine style design a step further, you may also like to check out these tutorials:

I hope this tutorial has helped explain how to add new widget areas for a magazine-style front page with Blogger. Please feel free to leave your comments and opinions below.

48 Comments:

9 July 2008 20:04 Marek said...

Hey Amanda!
Again, thanx for this one, works great :-) as usual.

Bye

9 July 2008 20:26
Shia said...

Amanda, I can't see anything on your blog. Everything is brown-ish, the yellow background is missing as is some other things. This is happenning on and off lately - very frustrating :(

9 July 2008 20:57 Matt said...

Fantastic! Thanks Amanda!

Matt
http://www.duelingtampons.com

9 July 2008 23:02 Anurag Bansal said...

You are gr8. That's why you always appear on my blog knowliz.com.

Thanks for this one. I think if someone know how to play with blogger code, then the panels can be added on a fly. Isn't it...???

10 July 2008 02:50 Jane said...

I am learning so much from you. Thanks!

10 July 2008 03:26 Quickroute said...

Amanda re: Shia comment above on color problems - I noticed the same the other day - needed to restart the browser to remedy. I can see it fine now but you may want to look into it.

i recently found your blog and it's great!

10 July 2008 05:07 Anna said...

what a great post! I will surely try it out later.

10 July 2008 06:05 Chris said...

Cool!! I don't know how I'll use it?? But I added it for "future proofing" ;)

10 July 2008 08:03 Tran Tinh said...

Hope I can make my own theme now. Thanks

10 July 2008 15:40 Jagan said...

How to make a template such tht there has two posts columns, so tht the previous post goes to the sidebar instead of bottom..

Did u get me..?

10 July 2008 17:24 More Customers, More Cash, More Quickly.SM said...

Hi Amanda,

Sweet! I've been wondering how to do this and really appreciate this tutorial!

I'm going to implement several of your tutorials today and see how they go!

By the way, do you know how to limit the number of "labels" blogger displays without having to use a "cloud widget"?

Thanks,
Scott
http://arriive.blogspot.com

10 July 2008 19:49 Val said...

This is really great and easy to follow. Thanks!

12 July 2008 15:08 The Beading Gem said...

I just came across your blog and subscribed! I wish I had found you earlier. Your blog is a shining example of how Blogger blogs can look really good (ie like Wordpress blogs) with a bit of know how.

13 July 2008 06:25 Anwar Hussain said...

b\nice post but i am using wordpress converted template for my blog. I could not find above code there... There is any other way to do following in wordpress converted blogger theme
My Blog

14 July 2008 09:48 Wolverine said...

great blog...and great tips... i will try this on blog...i was looking for something like this...

http://free-downloadz.blogspot.com

18 July 2008 04:00 zizukabi said...

I revamped my blog yesterday referring to this post.

Thanks.

20 July 2008 03:22 'BOSS' phycrewz admin said...

great!! its work for me..

30 July 2008 18:55 The Poet's Corner said...

I inserted the code for the magazine style format, but the two widgets overlap. There is no buffer space between them.

5 August 2008 19:32 Babette said...

Hi Amanda, thanks for a great tutorial! I tried it in my food blog and it was a breeze. Do you have a tutorial on adding widgets for square ads? Thanks for sharing your knowledge!

10 August 2008 23:23 Patt said...

That's cool Thank you so much..
Your tutorial help me enjoy changing style I desired..

18 September 2008 17:32 Lil' Boozie said...

Hi Amanda,

Do you know how to convert the Snapshot Madder template to 3 columns? Trying to accomplish this on my blog, "3 Troopin' Travelers". Feel free to email me at troopintravelers3@gmail.com, if you have the time/advice!

Thanks,
Suz

1 October 2008 20:27 Danny said...

this is great amanda! Is there a way to add three columns to my sidebar? I want one large column at the top to display page elements side-by-side, and then two columns BELOW that first column. Any ideas?

3 October 2008 06:53 Mr Bisht said...

Hi Amanda,

the solution you provided is great. And it's working well with non cusomized blogger template. But when I tried to expand the blog to 990 px and made other changes to post width, sidebar width, the sidebar sinked to the bottom.
See for yourself, I want to put it back in the line with upper line of post space.

http://blog24hrs.blogspot.com/

pl help

10 October 2008 19:50 Vilo said...

Hi Amanda, do you know how my widget got moved to the bottom of the post area? I didn't put them there. Can you please tell me how I can fix the problem. Tnanks a million!
http://odivah.blogspot.com.

17 October 2008 23:14 Landon and Kylie said...

It worked great, only I want the columns at the top of my blog, before the posts...ideas?

26 October 2008 07:36 Karoline Wilson said...

K. Now these tips look great. I was wondering how i'll add widgets at the footer in two or three rows

3 November 2008 19:19 Visare said...

And how to add new widget sections ABOVE the posts? Please answer :)

4 November 2008 08:48 Visare said...

Nevermind I figured out myself.

Anyway good post it helps, thanks! :) Just a little incomplete.

4 November 2008 20:58 Landon and Kylie said...

Visare, can you let me in on the secret of putting columns above the posts? I moved mine up, only now they aren't side by side anymore...

23 November 2008 15:00 Ches said...

Thx for sharing..it works great..

9 January 2009 06:21 LifeStyle Bzzz said...

HI Amanda,

It works great, is there a way to make a third column. so it will total to three!

Thanks

6 February 2009 11:07 indiamore.com said...

I used in my site lot of thanks

13 March 2009 07:12 Tazkiyatunnafs said...

I think it`s what i needed

6 May 2009 00:52 Perspective Shift Chris said...

AMAZING! I'm DEFINITELY checking this one out. Thanks!

13 May 2009 17:52 curryegg said...

THanks for sharing this. This is really helpful.. Thanks! :D

3 June 2009 14:57 Professional Lab 2009 beta said...

Thanks. It helps a lot to make my blog navigation useful.

24 July 2009 04:15 TICKLEBEAR said...

thanx!! it helped me to modify the simple II template into something more appealing on one of my blogs.

4 August 2009 15:15 Akshay S Dinesh said...

Thanks a lllllllllllottttt

5 August 2009 05:26 Noise Harmony said...

Thanks.. its work !!! :-)

24 August 2009 18:08 Anna M said...

Hi Amanda,

I have to say yours is the most engaging, informative and motivating blog for newbies in blogger. Thank you, thank you, thank you...

12 November 2009 07:38 Indiahow said...

Very clear instructions, I have been able to implement it within seconds

thank you!

11 December 2009 10:12 henry J said...

really great work. long time i searched this code. now i got it. thaks to blogbuster.

Free resources, free downloads, free stuffs @ http://simplygetit.blogspot.com/

11 December 2009 21:17 Missy said...

This is great! So how would I add a third section? So there were 3 columns under the post rather then just 2.

14 December 2009 17:43 divxvid said...

Thanks for this!!Beautiful!!!!
How can i add new widget sections above posts??....

9 February 2010 15:53 Simply Deb said...

My widgets show in the layout, but not on the preview, even when I save the template, and on the layout, they are not side by side. I'm not using a standard template, but the sections are the same.

22 March 2010 03:09 Cookie Monster said...

I was trying to figure out how to make columns in my posts and I used this as an example. It really helped me out thanks!!

26 March 2010 07:29 Herman said...

Hi,

I need to know how to keep single column on the side of the template, and make two column under the single column for some widgets. Please give me the way to do it.

Here is a blog I want to make 2 extra column under or between single column on right side template: http://atlascommunity.blogspot.com/

thx

7 June 2010 15:39
Anonymous said...

I used this a long time ago and I am so glad that you still have it active. Works very well with single column templates just wish I had the confidence to go further with editing. Thanks for keeping this one active.

Post a Comment

Browse through the Archives

All existing posts are still available to view while I'm working on the site, albeit seen in a much simpler interface. Feel free to browse through the archives to find tutorials, templates and articles to help you build a better blog:

Blog Archive

© Blogger Buster 2010 Home | About | Contact | Hire Me