Glamumous

Thursday, May 3, 2007

Creating a 3 column Blogger template

0 comments



As you can see, my Rounders4 template now has extra sidebars to the left of the main column. This has been the most difficult, and yet most satisfying customisation I have made to my Blogger template yet!

I won't explain every detail as this would make my post extremely long and boring, so instead I'll just go through the basics of the process in order to give you the general idea.

  1. I copied the CSS relating to the layout of the sidebars, and made this unique by substituting "sidebar" for "left-sidebar" wherever found. So this:
    #sidebar-wrapper {width: 240px;float: left;word-wrap: break-word;overflow:
    hidden;}
    Became this:
    #left-sidebar-wrapper {width: 220px;float: left;word-wrap: break-word;overflow:
    hidden;}
    Note that I also changed the width of the sidebar wrapper, as I didn't want it to be too wide!

  2. I then added the new sidebar to the left of the main template by ading the following lines of code just before the "main-wrapper":
    <div id='left-sidebar-wrapper'><b:section class='sidebar' id='left-sidebar' preferred='yes'/></div>
  3. Finally I changed the width of the #outer-wrapper and #header-wrapper elements to include the width of the new sidebar.

After much tweaking of margins/background images/widgets and such, I finally have the template you see now. It wasn't easy, but I think it was well worth the effort!

The only "problem" I have with this template is that things look odd when I alter the layout in my dashboard: it looks as though the right hand sidebar should be displayed underneath the main section, but it doesn't... To make sure everything worked correctly in all browsers and screen sizes, I did check with Browsershots.org (a free and rather useful service), and everything seems perfect ion all formats I have previewed.

If you would like to use my template for your own (New) Blogger blog, please get in touch and I'll send you the basics as XML.

Related posts:

Technorati Tags:

Got the Glamumous newsletter? Get regular updates for free by email (no spam, guaranteed!)

Related Articles

Comments 0 comments

Post a Comment

RSS Feed Subscribe to Glamumous

Get free Glamumous updates via email
Subscribe in your preferred RSS reader

Subscribe feeds rss Recent Entries

Advertise on this site Sponsored links

Blogger Buster
Link 1 Blogger Buster
Flylady - tips to bring your home out of chaos!
FlyLady Link 4
Advertise Here

Categories

Related Links

My Photos on flickr

Subscribe feeds rss Recent Comments

My Stumbleupon ProfileMy Recent Stumbles

Technorati

Technorati
View blog authorityMy authority on technorati
Add this blog to your faves