The Minima Template or Layout is used whenever you want to customize your blog any which way you want. There are no graphics used in the template as are used in the Rounders template. The Rounders and other templates with graphics are more difficult to customize as the images have to be resized to the new dimension.
Here I have attempted to simplify the Minima template further by making it a single-column template. This will enable bloggers to upload large photos or wide videos in their blog without worrying about the sidebar falling down!
This template is useful to bloggers who wish to show off their content without any distracting sidebars. The first step was to increase the width of the template :
This was done by simply getting rid of the sidebar code in the Template Code box : <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>
Then I increased the width of the main-wrapper in this code in the Template Code box :
#main-wrapper {
width: 660px;
....
}
This is the column containing the posts. If you want you can increase the width further depending on your monitor resolution. (Start button on Windows Taskbar---->Control Panel------>Display Properties----->Settings tab----->Lower left Screen Resolution in pixels).
Since the outer-wrapper contains the main-wrapper you have to increase width of former by same amount :
#outer-wrapper {
width: 660px;
...
}
The next step was to put in widgets in the footer. I have made three columns in the footer and you can add your widgets there. See picture below :
To outline the main column I have used a yellow color. If you wish to change the color you can change it in this code :
#main-wrapper {
width: 660px;
......
background:#ffff00 !important;
}
Change 'ffff00' to the hex number of the color you want and save template.
You can download the template here. Right click the link and choose "Save Link as" and save the XML template file to your desktop. Then upload template to blog.
This is a Layout template and cannot be used if you have a Classic template blog unless you upgrade blog to Layouts.
The Minimalist Minima Photoblog Template. |
Equal Height Columns Template for Blogger. |
Blogger has many templates which you can pick by going to Pick New Template under the Layout tab. At present all templates are two column templates. These have a main posts column and a sidebar at the right or left for your Profile and Archives and other widgets you wish to add.
They can be easily modified to add a third column in three steps. These column are however of unequal height. The height of the column depends on it's content. If you add more content to the sidebar it increases in length and then you have to add more posts so that the Main Column has a matching height. Other templates are available with faux columns to give an impression of equal height.
Here is a template with equal height columns : See picture below : 
The columns do not end at their content...........
You can download template here. To download the template right click on the above link and choose 'Save Target As' in Internet Explorer and 'Save Link As' in Firefox browsers. Save the XML template file to your PC.
To load the template :
1. Login at Blogger.com.
2. Click Layout link on Dashboard.
3. Page Elements tab will open.
4. Click Edit Html subtab of Layout tab.
5. Edit HTml tab will open.
6. First Backup your Template. Then backup you widgets. Then click Browse button.
7. Explorer window will open. Navigate to where you hae saved the XML template file and select it and click Open.
8. Click Upload button.
9. You may get warning that "Widgets are about to be deleted!". No need to worry since you have already backed them up in Step 6 above.
10. After new template has loaded sucessfully you can readd your widgets. You can also try the alternative method of loading a template without deleting widgets.
Three Column Template in Three Steps. |
Three column templates are popular because they make more use of the screen real estate. Adding another column to your blog enables you to add more widgets or advertisements to your blog.
In this post I will show you how to transform your blog into a three column blog in three simple steps. Have a look at the before and after screenshots below :
![]() | ---> | ![]() |
| BEFORE | AFTER |
To demonstrate this I have taken the Minima Dark Template of Blogger. I have shown the columns using colors to demonstrate them better...........
FIRST : INCREASE BLOG WIDTH
The first step is to increase the width of the blog. To do this follow these steps :
1. Login at Blogger.com.
2. The Blogger Dashboard page opens on successful login.
3. Click the Layout link under your blog title.
4. The Page Elements subtab of Layout tab will open.
5. Click the Edit Html subtab of Layout tab.
6. The Template Code box page will open. Scroll down in the box to this code :
#outer-wrapper {
width: 660px;
margin:0 auto;
background:#ff0000;
padding:10px;
text-align:$startSide;
font: $bodyfont;
}
Increase '660px' in the width line in the above code to '880px' and save template. We have increased the width of the outer-wrapper so that it will accommodate a third column. Since we want the second sidebar to have the same dimensions we have increased the width by the same width - 220px - as that of the original sidebar. This is how it looks now :

The outer-wrapper is the red column containing the main posts column (blue) and the yellow original sidebar. Space has now been created to add a third column.
SECOND : ADD THE CSS CODE.
Now that we have created space for the third column we need to define it in the template. This is done by adding code to the CSS part of the template. We want the new column to be exactly like the original sidebar on the right. We want it to be on the left og the posts column. So we add this code between <b:skin><![CDATA[ and ]]></b:skin> tags in the template :
#sidebar-wrapperL {
width: 220px;
float: $startSide;
background:#ffff00;
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 */
}
This is the same code as the original sidebar. To differentiate it we have added a 'L' after 'sidebar-wrapper'. It has the same width. Since we want it to be on the left of the posts column we have changed the float property to be '$startside'.
Since Blogger has enabled support for bidirectional languages the float:left and float:right have been replaced by $startSide and $endSide respectively.
Save template.
THIRD : ADD CODE IN THE PAGE BODY.
Lastly we need to add the code for the new sidebar in the <body> part of the template. Since it has to be the left of the posts column this code will come before it. Scroll down and paste this code :
<div id='sidebar-wrapperL'>
<b:section class='sidebar' id='sidebar2' preferred='yes'>
<b:widget id='HTML6' locked='false' title='' type='HTML'/>
<b:widget id='HTML7' locked='false' title='' type='HTML'/>
</b:section>
</div>
immediately above this line in the template :
<div id='main-wrapper'>
I have added two Html widgets to the code as examples. Preview and save template. You can change the background color of the columns if you want to. This is the final result :

Enjoy!!
You can also make a Three column Classic Template.
Make Three Column Classic Template. |
Bloggers who are on ftp are forced to use the Classic Template as Blogger does not provide Layout Templates to blogs outside Google servers. A reader wanted to add a third column to his blog hosted on ftp and hence this post. Readers with Layout Templates can refer to How to Add Third Column To Blog.
In this example I was able to transform the two column Minima Classic Template into a Three Column template in only three steps. See picture below : 
Click on Image to enlarge it.................INCREASE BLOG WIDTH
The first step is to increase the width of the blog so that it can accomodate the space for an extra column. To do this login at Blogger.com and click Template link on the Dashboard. The Edit Html subtab of Template tab will open.
BACKUP TEMPLATE FIRST :First copy all the code in the Template Code box and paste into a Notepad file. Save that file as ClassicTemplateBackup.txt.
You can see the various columns in your blog by giving them temporary borders. In the Classic Minima template this is what they look like :
Click on Picture to enlarge it.
To alter the code in the Template Code box scroll down to this code :
@media all {
#content {
width:660px;
margin:0 auto;
padding:0;
text-align:left;
}
.......
CHANGE ABOVE CODE TO :
@media all {
#content {
width:880px;
margin:0 auto;
padding:0;
text-align:left;
}
.......
Notice that the width has been increased to 880px. Now I can introduce a new column sized upto 220px. This is because the 'content' container contains the posts 'main' column and the sidebar column. This is how it looks after increasing the width :
DEFINE THIRD COLUMN IN CSS
The next step is to define the size and name of your third column in the CSS part of your template. In your Template code box add this code :
#sidebarL {
width:220px;
float:left;
}
immediately after the code for the 'content' box altered in the first step above.ADD THIRD COLUMN IN BODY
To add the third column in the body scroll down in the template till you come to this line :
<!-- End #main -->
Immediately after the above line paste the following code :<!-- Begin #sidebarL -->
<div id="sidebarL">
<p>Spacefiller Nonsense Text to Outline New Column</p>
</div>
<!-- End #sidebarL -->
Preview and Save Template. Clear Cache and View Blog. This is how it will look like :
If you want you can increase the width of the header by increasing the width in this code :
#header {
width:660px;
margin:0 auto 10px;
border:1px solid #ccc;
background:#ff0000;
}
Use Preview to see what it looks like before saving.
The Rounders Three Column Template Mod. |
Many bloggers have been hampered by the absence of three column templates in the Official Blogger stables. They feel that the two column templates fail to exploit the wide screen resolutions on today's monitors. One solution is to increase the width of the blog. However, merely increasing the width does not provide space for additional widgets or advertisements which can be done by using a third column.
Increasing the width of the template also has it's limitations if your blog has an audience using lower resolution monitors. A solution to this is to use a Fluid width template which resizes to match any standard monitor.
The Rounders Template has graphics making up its' rounded corners. Hence adding an additional column means that you have to download, resize these graphics and upload them back. I have been able to do this as you can see below :
You can see the demo here. I have kept the first column as the posts column as it is important in search engine optimization. Here is the method for those of you wishing to customize it more for your own blog........THE MAKING OF THE THREE COLUMN ROUNDERS TEMPLATE
WIDEN THE TEMPLATE
The first step is to increase the width of the template. To do this first go to Template---->Pick New Template----->Check the radio button for the 'Rounders 3' Template and click Save. Remember to backup your first template before this.
Then go to Edit Html subtab of Template tab and scroll down to this code :
/* Outer-Wrapper
----------------------------------------------- */
#outer-wrapper {
width: 680px;
.......
}
Increase the width to whatever you want keeping in mind the monitor resolution of your viewers which you can get from Google Analytics.
Then scroll down to this code :
#main-wrap1 {
width:450px;
......
}
#sidebar-wrap {
width:200px;
float:right;
.......
}
Change the widths of the above two columns to your specifications. Leave space for your third column. Change the float:right property to float:left for the sidebar-wrapper.DEFINING THIRD COLUMN
To define a third column add this oode just below the above code :
#rightsidebar-wrap {
width:200px;
float:left;
margin:15px 0 0;
font-size:97%;
line-height:1.5em;
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 */
}
This column width should be such as to occupy the remaining space.CREATING THIRD COLUMN
Now that the third column has been defined above you have to add code in the <body> of the page to create it. For this scroll down and paste this code :
<div id='rightsidebar-wrap'>
<div id='sidebartop-wrap'><div id='sidebartop-wrap2'>
<b:section class='sidebar' id='sidebartop1'>
<b:widget id='HTML1' locked='false' title='Rounders Mod by :' type='HTML'/>
<b:widget id='Text1' locked='false' title='ABOUT THIS TEMPLATE' type='Text'/>
</b:section>
</div></div>
<div id='sidebarbottom-wrap1'><div id='sidebarbottom-wrap2'>
<b:section class='sidebar' id='sidebar3' preferred='yes'>
<b:widget id='Label1' locked='false' title='Labels' type='Label'/>
<b:widget id='Poll1' locked='false' title='Template Features Wishlist :' type='Poll'/>
<b:widget id='BloggerButton1' locked='false' title='' type='BloggerButton'/>
</b:section>
</div></div>
</div>
Save Template.RESIZING THE GRAPHIC ROUNDED CORNERS
You have to download and resize the rounded corner images to match the widths you have specified for the columns.
If you want to maintain the same width as in my demo blog you can download the template file and the graphics here.
After resizing the images upload the images to Photobucket.com or to your account at Googlepages and paste their links in the CSS code to form the background images of the blog column corners.
Enjoy!
Cool Blue Web 2.0 Fluid Template for Blogger. |

Here is the Cool Blue Web 2.0 Template for Blogger. The main features of this are :
1. Widget Ready.
2. Layout Template.
3. Rounded Corners for columns Header and Footer.
4. Fluid Width for any resolution.
5. Graphics provided in WinZip file. Create an account at Googlepages or Photobucket. Upload images there and copy their link and paste it instead of these links in the template :
div.rounded {
background: #c3d9ff url(http://ezeeblog.googlepages.com/bl_24_c3d9ff_356aa0.gif) no-repeat bottom left;
div.rounded * {
background: #c3d9ff url(http://ezeeblog.googlepages.com/br_24_c3d9ff_356aa0.gif) no-repeat bottom right;
div.rounded h1, div.rounded h4 {
color: #356aa0;
background: #c3d9ff url(http://ezeeblog.googlepages.com/tr_24_c3d9ff_356aa0.gif) no-repeat top right !important;
display: list-item;
list-style-image: url(http://ezeeblog.googlepages.com/tlc_24_c3d9ff_356aa0.gif) !important;
You can do this by clicking on Layout on Blogger Dashboard after login at Blogger.com. Then click Edit Html subtab of Template tab to make above changes in template box and save.
REMEMBER to Backup Previous Template to PC and also Backup Widget Template data before changing templates.
6. Web 2.0 colors.
7. Three Columns with posts column first for better SEO.
Checkout the Demo Blog.
Download template Link : Cool Blue Web 2.0 Template. Do keep the credits intact.
Fluid Width Three Column Blog Template. |
Many bloggers have been asking for a three column template. So I brushed up on my XML and XHTML and made a fluid width three column template.
A fluid width template is one which fits all screen resolutions without breaking. The columns expand and contract as the window is resized. You can test it out by going to The Fluid Width Three Column Blog and then type this in address bar of the browser without the quotes :
"javascript:top.resizeTo(800,600)"
and press ENTER on keyboard. The window will resize to 800 x 600 resolution without having a horizontal scrollbar at the bottom..........
You can see the full view of the blog below :
The widgets seen above are not loaded with the template. You have to add your own widgets after uploading this template. Remember to backup your widgets first before changing templates. After resizing it looks like this :
Download Link : Fluid Width Three Column Template. As you can see there is no horizontal scroll.
Right Click the above link and choose 'Save link as' and save it on your PC. Upload to your blog as shown in How to Change Template.
I have also included a Navigation Bar at the top where you can add links to your important posts. To do this login at Blogger.com and click on Layout on Dashboard. Then click Edit Html subtab of Template tab and scroll down to this code in the template :
<div id='Nav'> <a href='BLOG_URL'>Home</a> | <a href='LINK TO SUBSCRIBE POST'>Subscribe</a> | <a href='LINK LABEL 2'>Label 2</a> | <a href='LINK LABEL 3'>Label 3</a> | <a href='LINK LABEL 4'>Label 4</a> | <a href='LINK LABEL 5'>Label 5</a> | <a href='LINK LABEL 6'>Label 6</a> </div>
Change the code in red to the respective links to your posts. You will have to create and publish these posts first and then copy their links and paste them in the above code.
At the bottom of the template are links to 'About Us', 'Contact', Sitemap and Privacy Policy which you can modify in the template by scrolling further down to this code :
<div id='siteInfo'> <a href='LINK TO ABOUT US POST'>About Us</a> | <a href='LINK TO SITEMAP POST'>Site Map</a> | <a href='LINK TO PRIVACY POLICY POST'>Privacy Policy</a> | <a href='LINK TO CONTACT US POST'>Contact Us</a> | <a href='http://betabloggerfordummies.blogspot.com'>Blog Design</a> | 2007 Company Name </div>
<br/></div>
Change the parts in red in the same way as before. I know you will be gracious enough to leave the credit intact.
Another version of this template for those who do not want the stretch version looks like this :
The download link is Fluid Width Central template.Search Engine Optimized Advantages
This template is optimized for the search engines as :
1. The posts column comes first and hence the search spiders first feed on the content.
2. NO JAVASCRIPT in the template making all the links in text and indexed by the search engines.
3. Follow further tips for SEO for blogs to further customize this template.
Launch a Minisite | Estore in Blogger. |
A Minisite is a small/minimum site with one or only a few pages. It maybe a part of a bigger site or a standalone site by itself. It has a narrow subject focus and is used to target a product or a population segment commonly known as a niche.
A blog on the other hand is a site whose content is constantly updated. Here I have modified the blogger template so as to provide a static HTML frontpage which can also be used as an "Introduction" page for your blog. See the picture below :
Click on picture to enlarge it. I have used it to make a Minisite (Money From Blogs) to introduce this blog. You can also make a similar Minisite in Blogger to sell Ebooks, Audio/Video Feeds or any other niche product.
This method can also be used to make an Introductory page for your blog.The advantage of making it in Blogger is freehosting and bandwidth and for slightly more you can get your own Domain name also with Blogger Custom Domains............
1. CREATE YOUR BLOG
The first step is to create a new blog. In Step 2 when creating your blog use keyword research techniques to use the appropriate name/url for your blog so that the search engines associate it with your product name. If the name is available try using the same name as your product. When choosing a template pick the Minima template. Make a Test/dummy post in the blog in the final step.
2. MODIFYING HEADER
First go to Template----->Edit Html and backup your template so that you can restart by loading this backup at any time if anything goes wrong. Then scroll down to below the <body> tag. You can delete the header as I have done or you can choose to keep the header and show it only on the post/inside pages. To delete the header simply delete this code and save template :
<div id='header-wrapper'>
<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
<b:widget id='Header1' locked='true' title='Simply Technorati (Header)' type='Header'/>
</b:section>
</div>
If you want the header to appear only on the inside pages put it inside conditional tags as described later on this page.
3. MODIFYING BLOG POSTS
The blog posts will appear only on the inside or post pages. Use conditional tags for this. Check the box at the top of the template box to Expand Widgets Template. Then scroll down to the Blog Posts code and add the lines in RED and save template :
<b:includable id='main' var='top'>
<b:if cond='data:blog.pageType == "item"'>
<!-- posts -->
<div class='blog-posts'>
<b:include data='top' name='status-message'/>
<data:adStart/>
<b:loop values='data:posts' var='post'>
<b:if cond='data:post.dateHeader'>
<h2 class='date-header'><data:post.dateHeader/></h2>
</b:if>
<b:include data='post' name='post'/>
<b:if cond='data:blog.pageType == "item"'>
<b:include data='post' name='comments'/>
</b:if>
</b:loop>
<data:adEnd/>
</div></b:if>
Now the blog posts will be seen on the post pages only.
4. ADDING THE FRONT PAGE
The front page will be shown by a HTML widget in the blog posts column. A widget is the name given to the code of a Page element. To create more widgets in the blog posts column goto Template------>Edit Html and scroll down to the blog posts widget code :
<div id='main-wrapper'>
<b:section class='main' id='main' maxwidgets='3' showaddelement='no'>
<b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog'/>
</b:section>
</div>
Add "maxwidgets='3'" as shown above and also change the 'no' in red to 'yes' and save the template. Click on page elements subtab of Template tab above and in Layout view click on Add Page Element link above the Blog posts page element. Choose theHtml/Javascript option and in the popup window paste the Html code of your introduction page. You will have to prepare it beforehand in your favorite Html editor. Save Changes and Voila! you have the Introduction Page to your blog.
To show this widget only on the home page of your blog again use conditional tags. Go to template------->Edit Html and put a check in expand widgets template box at the top and scroll down to your widget code and add the lines in red and save template :
<b:widget id='HTML1' locked='false' title='' type='HTML'>
<b:includable id='main'>
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<!-- only display title if it's non-empty -->
<b:if cond='data:title != ""'>
<h2 class='title'><data:title/></h2>
</b:if>
<div class='widget-content'>
<data:content/>
</div>
<b:include name='quickedit'/></b:if>
</b:includable>
</b:widget>
Now this page will be shown only on the home page of your blog. You can put your one page code in this to make up your Minisite as in Money From Blogs.
5. SIDEBAR WIDGETS IN POST PAGES
Similarly put all your sidebar widgets in conditional tags to show them only on the post pages. Follow the same technique used for blog posts. Add this line :
<b:if cond='data:blog.pageType == "item"'>
after the main includable line in each widget and then add a <.b:if> tag before the closing line of the includable. Now your sidebar widgets will only be seen on the post pages.
6. CSS NAVIGATION TABS
You have to put CSS Navigation tabs at the top as there is no other system to allow access to the post pages. For this get the code and graphics from exploding boy. Upload the graphics to a freehost and put the code in CSS part of your template :
/*- Menu Tabs E--------------------------- */
#tabsE {
float:left;
width:100%;
background:#000;
font-size:93%;
line-height:normal;
}
#tabsE ul {
margin:0;
padding:10px 10px 0 50px;
list-style:none;
}
#tabsE li {
display:inline;
margin:0;
padding:0;
}
#tabsE a {
float:left;
background:url("http://betabloggerfordummies.googlepages.com/tableftE.gif") no-repeat left top;
margin:0;
padding:0 0 0 4px;
text-decoration:none;
}
#tabsE a span {
float:left;
display:block;
background:url("http://betabloggerfordummies.googlepages.com/tabrightE.gif") no-repeat right top;
padding:5px 15px 4px 6px;
color:#FFF;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#tabsE a span {float:none;}
/* End IE5-Mac hack */
#tabsE a:hover span {
color:#FFF;
}
#tabsE a:hover {
background-position:0% -42px;
}
#tabsE a:hover span {
background-position:100% -42px;
}
Paste the above code just above the bskin tag below :
]]></b:skin>
Also Paste this code in the outer-wrapper :
<div id='tabsE'>
<ul>
<li><a href='HOME LINK' title='Home'><span>Home</span></a></li>
<li><a href='PAGE1 LINK' title='aStore'><span>aStore</span></a></li>
<li><a href='TEST POST LINK' title='Test Post'><span>Test Post</span></a></li>
<li><a href='CONTACT PAGE LINK' title='Contact'><span>Contact</span></a></li>
<li><a href='#' title='Link 6'><span>Link 6</span></a></li>
<li><a href='#' title='Link 7'><span>Link 7</span></a></li>
</ul>
</div>
Save Template after putting your own links in the above code.
7. FEED LINKS & NAVBAR
There is a Subscribe to Posts Atom link at the bottom of each post. To remove it see the third blockquote from the top in What is Subscribe to Posts Atom. The Blogger Navbar issues are discussed here. To remove the Older Posts/Newer Posts/ Home link see how to Customize the post footer.
8. SETTINGS
Settings of your Minisite/aStore blog should be set as follows :
Settings----->Basic
Add Title and Description for the search engines.
Add Blog to Listings----->Yes
Show Quick Editing on yourblog?------>No
Show emailpost links ?------->No
Settings----->Publishing
Send Pings----->Yes
Settings------>Formatting
Show Title Field----->Yes
Show Link Field------>No
Settings---->Comments
Comments-----?Show/Hide
Settings------>Archiving
Enable Post Pages------>Yes
Archive Frequency----->Any
Settings------>Site Feed
Set all feeds to Full
Settings------->Permissions
Blog Readers----->Who can view this blog------>Anybody
Template----->Page Elements----->Click edit link in Blog Posts widget.
Uncheck Date, Posted By, at Time, Comments, Labels, Show Quickediting, Show Email Post Links
Save Changes
9. aSTORE IN BLOG
You can put an Amazon aStore in any of the post pages. Just get the code from Amazon.com and paste it in Edit Html tab of your post editor. See my Beta Blogger For Dummies aStore See Picture below

You can put a different aStore on each page of your blog (complete with shopping carts) from different sites like Amazon CafePress etc.. and convert your Minisite into a complete Minimall. You can even put up your Advertisements up on the 'walls' of your Minimall and earn from them!!
10. YOUR OWN DOMAIN NAME
The last step is getting your own Domain name and shifting to Blogger Custom Domains. This will remove the "blogspot.com" from your URL and get your own "MyMinisite.com" name. Now people will never recognize that they are on a blog. The advantages are free hosting, free bandwidth, free space, all security and other problems handled by Blogger as well as much quicker indexing and crawling by the search engines due to the blog nature of your site.
The Table of Contents Template. |
A reader asked to have a three column template with a Table of Contents at the top. So I decided to make it and take you, my dear readers, along with me as I do so. Something like "The Making of a template.....". So here we go......... Technorati Tags:template, width, third column, change template, conditional tags, css, blogger hacks, 1. CREATE A BLOG
As I have said previously in Practical Approach to Hacking Templates, it is always best to start of with one of the Blogger Templates. So we login to the Dashboard and click on Create Blog link and follow the steps in How to Start a Blog. We will use this blog to showcase the new template. We choose the name as Table of Contents Template and the URL as http://tableofcontentsdemo.blogspot.com/. Lastly we choose the Minima Template and create a Test Post. Since this is to be a Demo blog we set the Settings----Basic------->Add your Blog to our listings?----->No----->Save. In Settings----->Publishing----->Send Pings---->No----->Save. In Settings----->Comments we set Who Can Comment? to Only Members of this blog----->Save, since we do not want spam comments on this Demo blog. In Settings----->Site Feed we set Allow Blog Feed to None---->Save, as this is a demo.2. INCREASE BLOG WIDTH
The next step is to increase blog width, as shown in How to change width of blog, so as to accommodate a third column. So we go to Template------>Edit Html and first backup the template. Then scroll down in edit Html text box till you come to this code :
/* Outer-Wrapper
----------------------------------------------- */
#outer-wrapper {
width: 660px; <----CHANGE THIS
margin:0 auto;
padding:10px;
text-align:left;
font: $bodyfont;
}
The outer wrapper contains all the blog sections within it. See the picture below
:
To create space for a third column we increase it to 880 px and save the template. See the picture below showing increased width of the blog
3. ADD THIRD COLUMN
To add a third column as shown in add a third column to blog, we first define a new column which will be floated left and which will hold the posts column and the new left sidebar. Let us call it the bigcolumn. We add this code just below the outer wrapper code in No 2 above :
#bigcolumn {
width: 630px;
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 */
}
The width is Main (posts) Column 410px + Left sidebar 220px = 630px. It is floated left. Then add the new left sidebar wrapper code below it :
#leftsidebar-wrapper {
width: 220px;
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 */
}
It is floated left within the big column while the posts column is floated right. So we change the float property of the posts column in the code below fro left to right:
#main-wrapper {
width: 410px;
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 */
}
Save Template. The columns have been defined in the CSS and now we have to add code in the body part to show the on page. So we add the big column first after this line in the code :
<div id='content-wrapper'>
ADD THIS LINE
<div id='bigcolumn'>
THEN ADD THE LEFT SIDEBAR WRAPPER CODE BELOW IT :
<div id='leftsidebar-wrapper'>
<b:section class='sidebar' id='leftsidebar' preferred='yes'>
</b:section>
</div>
save the template after closing the bigcolumn division by putting
</div>
after this block of code which represents the main (posts) column :
<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>
See the picture of the full blog below which is now three columns :
4. TABLE OF CONTENTS
The Table of Contents is a Archive Widget which we will place in the central (posts) column. To do this we have to increase the number of widgets in the central column. Go to Template----->Edit Html----->and scroll down till you come to :
<div id='main-wrapper'>
<b:section class='main' id='main' showaddelement='no'>
Change this code to
<div id='main-wrapper'>
<b:section class='main' id='main' showaddelement='yes' maxwidgets='3'>
Save Template and switch to Page Elements tab. There is already an Archive widget in the right sidebar. Drag and drop it to the top of the posts column and click on Save at the top. Switch back to Edit Html tab and put a check in Expand Widgets Template checkbox at the top of the Edit Template textbox. This will expand the code for the Archives widget. Replace the code AFTER THE FIRST TWO LINES which are :
<b:widget id='BlogArchive1' locked='false' title='Blog Archive' type='BlogArchive'>
<b:includable id='main'>
WITH THE CODE BELOW :
<b:if cond='data:title'>
<h2><data:title/></h2>
</b:if>
<div class='widget-content'>
<div id='ArchiveList'>
<div expr:id='data:widget.instanceId + "_ArchiveList"'>
<b:if cond='data:style == "HIERARCHY"'>
<b:include data='data' name='interval'/>
</b:if>
</div>
</div>
<b:include name='quickedit'/>
</div>
</b:includable>
<b:includable id='interval' var='intervalData'>
<b:loop values='data:intervalData' var='i'>
<b:if cond='data:i.data'>
<b:include data='i.data' name='interval'/>
</b:if>
<b:if cond='data:i.posts'>
<b:include data='i.posts' name='posts'/>
</b:if>
</b:loop>
</b:includable>
<b:includable id='posts' var='posts'>
<ul class='posts'>
<b:loop values='data:posts' var='i'>
<li><a expr:href='data:i.url'><data:i.title/></a></li>
</b:loop>
</ul>
</b:includable>
</b:widget>
Save Template.5. USE CONDITIONAL TAGS
Now we have the Blog Archives widget showing only the links to the posts. Below it is the posts. We will now use conditional tags as described in Post a Book in the New Blogger to show only the Archives widget on the main page and to show the posts widget on the post pages only.
To do this go to Templates----->Edit Html and put a check in the box to expand Widgets Templates at the top of the Edit Template text box. Then scroll down to the archives code
<b:widget id='BlogArchive1' locked='false' title='Blog Archive' type='BlogArchive'>
<b:includable id='main'>
Add after the above lines the following code :
<b:if cond='data:blog.url == data:blog.homepageUrl'>
Also add </b:if> before the immediate next </b:includable>
The whole code after modification becomes :
<b:widget id='BlogArchive1' locked='false' title='Blog Archive' type='BlogArchive'>
<b:includable id='main'>
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<b:if cond='data:title'>
<h2><data:title/></h2>
</b:if>
<div class='widget-content'>
<div id='ArchiveList'>
<div expr:id='data:widget.instanceId + "_ArchiveList"'>
<b:if cond='data:style == "HIERARCHY"'>
<b:include data='data' name='interval'/>
</b:if>
</div>
</div>
<b:include name='quickedit'/>
</div>
</b:if>
</b:includable>
<b:includable id='toggle' var='interval'>
<b:if cond='data:interval.toggleId'>
<b:if cond='data:interval.expclass == "expanded"'>
<a class='toggle' expr:href='data:widget.actionUrl + "&action=toggle" + "&dir=close&toggle=" + data:interval.toggleId + "&toggleopen=" + data:toggleopen'>
<span class='zippy toggle-open'>▼ </span>
</a>
<b:else/>
<a class='toggle' expr:href='data:widget.actionUrl + "&action=toggle" + "&dir=open&toggle=" + data:interval.toggleId + "&toggleopen=" + data:toggleopen'>
<span class='zippy'>► </span>
</a>
</b:if>
</b:if>
</b:includable>
<b:includable id='flat' var='data'>
<ul>
<b:loop values='data:data' var='i'>
<li class='archivedate'>
<a expr:href='data:i.url'><data:i.name/></a> (<data:i.post-count/>)
</li>
</b:loop>
</ul>
</b:includable>
<b:includable id='posts' var='posts'>
<ul class='posts'>
<b:loop values='data:posts' var='i'>
<li><a expr:href='data:i.url'><data:i.title/></a></li>
</b:loop>
</ul>
</b:includable>
<b:includable id='menu' var='data'>
<select expr:id='data:widget.instanceId + "_ArchiveMenu"'>
<option value=''><data:title/></option>
<b:loop values='data:data' var='i'>
<option expr:value='data:i.url'><data:i.name/> (<data:i.post-count/>)</option>
</b:loop>
</select>
</b:includable>
<b:includable id='interval' var='intervalData'>
<b:loop values='data:intervalData' var='i'>
<b:if cond='data:i.data'>
<b:include data='i.data' name='interval'/>
</b:if>
<b:if cond='data:i.posts'>
<b:include data='i.posts' name='posts'/>
</b:if>
</b:loop>
</b:includable>
</b:widget>
For the posts column paste this line of code :
<b:if cond='data:blog.pageType == "item"'>
instead of line xxxxxxxxxxxxxxxxx in below code in your template :
<b:includable id='main' var='top'>
<!-- posts -->
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
<div class='blog-posts'>
Then locate the immediate next </div> and add </b:if> after it. Save Template.6. CUSTOMIZING APPEARANCE
You now have a TABLE OF CONTENTS on the front page. To change the title from Blog Archives to TABLE OF CONTENTS just click Edit link in the Archives section on top of the blog posts on Page Elements subtab of Template tab. To change the background of the Table of Contents put this code in the VARIABLE DEFINITIONS :
<Variable name="headingcolor" description="TABLE OF CONTENTS Color"
type="color" default="#fff" value="#ffffff">
<Variable name="contentBackgrnd" description="TABLE OF CONTENTS Background Color"
type="color" default="#fff" value="#ffff66">
and this code lower down after the outer wrapper code :
.BlogArchive h2 {
color:$headingcolor;
}
.BlogArchive {
border:10px solid #000000;
border-bottom:10px solid #000000 !important;
background-color:$contentBackgrnd;
text-align:center;
}
Save Template. See the picture of the blog below :
You can check out the DEMO BLOG here. You can download the full template here.
post titlestable of contents
Add a Third Column to Blog. |
The increasing resolution on Monitors worldwide has led to a greater demand for utilizing the total real estate available on the computer screen. Many bloggers do not like the empty white space on either sides and wish to add a third column....... Technorati Tags:third column, template, blogger hacks, css, harbor template
Many bloggers are reporting that 6% to 9% of their viewers are on 800 x 600 monitors. The latest stats. from here show that in July 2006 there were 17% users on 800 by 600 res. They would hence like to add a third column or one more sidebar to their template. Here I have done it for the Harbor template.INCREASE BLOG WIDTH
The first thing to do is to increase the width of the blog using measures I have outlined in How to change width of Blog. This is a picture of the important divisions of the original Harbor Template. Click on image to enlarge it.
First backup the template as shown in How to Change Template. Then add this code in the CSS after the <b:skin><
DEFINE NEW COLUMNS
The size and placing of the new columns will have to be specified in the CSS first. The new sidebar is defined by
#rightsidebar-wrapper {
width:32%;
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 */
}
#rightsidebar {
margin:0;
padding-top: 100px; /* reduced from 170px of leftsidebar */
}
Notice that the right sidebar wrapper has been floated right. Now we need to create one big column to include both the post and the left sidebar columns. After creating it we will give it a float left property. So it will float left and contain the left sidebar floating left within it and the posts column floating right within it. For this add this code and we will call it 'twocol'.
#twocol {
width:67%;
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 */
}
Since the right sidebar wrapper is 32% we have sized this at 67%. Save Template.IMPLEMENTING THE COLUMNS IN THE BODY
We have defined the sizes and the positions of the columns in the CSS. Now we have to add them in the body of the template. Scroll down till you come to this line :
<div id='main-wrapper'>
and add the following code just above this line.
<div id='rightsidebar-wrapper'>
<div id="rightsidebar">
</div></div>
<div id="twocol">
Notice that the right sidebar wrapper along with its sidebar has been added before the main wrapper and the twocol division has been opened but not closed. To close it add this code
</div>
just before the footer wrapper code starts here :
<div id='footer-wrapper'>
Thus the twocol includes both the main wrapper which is floated right inside it and the left sidebar which is floated left. It is closed before the footer wrapper so as not to include it. Save Template.ADDING THE WIDGETS TEMPLATES
We have added the third column but it is empty. To populate it with widgets or Page Elements add these lines :
<b:section class='sidebar' id='rightsidebar' preferred='yes'>
</b:section>
at the position marked by xxxxxxxxxxxxxx below :
<div id='rightsidebar'>
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
</div>
Save Template. We have now added the Add Page Element link in the new right sidebar column. Click on Page Element subtab under Template tab and then click on Add Page Element link in Right Sidebar to add a PageElement in the right sidebar. See picture below
I have added a text Page element in the right sidebar so as to outline it.
Download Three Column Beta Template. |
Download Three Column Beta Template with the following features............ Technorati Tags:template, three column, xml xhtml
This template is an original Stretch Denim Beta Blogger Template by Darren Delaye to which I have added a third column. The added features are :
You can see this template in action here.
Click on image to enlarge it.
This shows same site at 800 x 600 resolution. The sidebar remain of the same width and the posts column resizes without adding a side scroll to the window. Click on image to enlarge it.
To see how to load this template to your blog see How to Change Template.
Before Downloading please read this carefully.
1. You are free to use the template for blogging purposes, however please do not remove the "Beta Blogger" link from the bottom.
2. You are free to modify the template according to your needs, please do not further distribute the modified templates and do not sell them as your own work.
3. Although I am not even sure how this template could cause any harm, still I can't be held responsible for any kind of damage that is caused by using this blog template.
Download from here.














