Wednesday, September 7, 2011
How To Convert to 3-Column
First of all, set your template to Minima (not the stretch template, but any color will do!), then follow these instructions:
1. Go to Template>Edit HTML, leaving the "Expand widget templates" box unchecked.
2. Now, find this section in the HTML code:
Copy this entire section below, and paste it directly under the above code. You see the changes we made with the CAPITALZATION OF LEFT:
(this will make the new sidebar float to the left of the main column)
3. Now, you need to find this section further down the page:
. Immedietly before this section, you should paste the following piece of code:
4. If you preview your template, you will notice that the right sidebar will be beneath the main section at the moment. This is because the outer-wrapper is still only wide enough to accomodate one sidebar. So now we need to expand the outer wrapper to accomodate this new sidebar.
Find this section in the HTML code:
We increasd the width of the wrapper from 660px to 880px.
5. Now you need to change the width of the header-wrapper to 880px so that it spans the new width of your blog:
6. You should PREVIEW & then SAVE your template if all is okay. Your new sidebar will not be show as there are no widgets contained within it, though it will still be present in the markup of the page. Once you have saved your template, go to Template > Page Elements in your Blogger dashboard and drag your widgets to the left sidebar.
7. If you add anything to this left sidebar, you will probably notice that it bunches up to the main section. This is because there is no space defined between the left-sidebar and the main section. We need to create this space in the template's HTML. To do this, we will add a margin to the left side of the main posts section. Find the following code in your template's HTML and add the code defined in CAPITALZATION:
This defines a margin space of 20px between the left-sidebar and the main column. You should also ensure you adjust the width of the outer-wrapper from 880px to 900px to ensure the width of your blog is enough to accomodate this margin too. Either that, or you could reduce the width of your main column/a sidebar by 20px to serve the same purpose. Now, PREVIEW your template.
8. Finally, SAVE your template and enjoy your new sidebar!
Also, you can configure your new sidebar to float to the right, and have two sidebars on the right of the main column if you prefer. Simply set the CSS of your new sidebar to float: right; instead.
This tutorial is from Blogger Busters!
Subscribe to:
Post Comments (Atom)
About Me
- Unknown
0 comments:
Post a Comment