Article Series: Wider 2 Column Templates - Step by Step Guides
Here are the steps to increase the width of the main post area of the Scribe template by a desired amount. This is useful if you frequently upload images/embed videos etc that are wider than the default width of the post column.
The Scribe template uses images in its background. We need to expand these images when increasing the width of the post area. This tutorial uses custom images hosted on The Blogger Guide companion web site. (Note: The images used by templates must be hosted online.)
1) Decide the amount of pixels by which you want to increase the width of the post area. In this article, I will be expanding it by 200 pixels. (In fact, you can pick an arbitrary size and experiment to see if that is enough for you)
2) Increase the width of the post area
- Go to Layout -> Edit HTML
- Locate the #main CSS selector (Do a Find using your browser)
- Increase its width property by adding the amount of pixels picked in step (1). Here we change it to 630 by adding 200 to the default width of 430 pixels
width:630px;
float:$endSide;
...
}
3) Increase the width of the other wrappers to accommodate the expanded main wrapper.
- Locate the following CSS sections
- Change their width property to 900 pixels
...
width:900px;
...
}
#main-top {
width:900px;
...
}
#main-bot {
width:900px;
...
}
#wrap2 {
width:900px;
...
}
4) Replace the other background images with expanded ones as necessary.
- Locate the following CSS selectors.
- Replace the URLs of the images to the ones shown in red below.
width:900px;
height:49px;
background:#FFF3DB url("http://thebloggerguide.googlepages.com/scribe_bg_paper_top_ex.jpg") no-repeat top left;
...
}
#main-bot {
width:900px;
height:81px;
background:#FFF3DB url("http://thebloggerguide.googlepages.com/scribe_bg_paper_bot_ex.jpg") no-repeat top left;
...
}
#wrap2 {
width:900px;
background:#FFF3DB url("http://thebloggerguide.googlepages.com/scribe_bg_paper_mid_ex.jpg") repeat-y;
...
}
#header {
background:url("http://thebloggerguide.googlepages.com/scribe_divider_ex.gif") no-repeat bottom $startSide;
}
#footer {
clear:both;
background:url("http://thebloggerguide.googlepages.com/scribe_divider_ex.gif") no-repeat top $startSide;
...
}
Note: You are free to use the images provided by me. But if you change your template according to this tutorial and use those images, please do a post in your blog linking to this article.
That's it! Click SAVE TEMPLATE and you should now have more room to play around with, in your main post area.











17 comments:
Blogger Guide - you're the best. The instructions were clear and concise. I looked everywhere for how to do this. You know your stuff!
thanks dude..that's really help me to expand scribe template...keep up the good work.....
Thank you very much, this helped me a lot.
I have added the post linking to this article, as you suggested.
Found your post via BloggerForum and this is exactly what I was looking for! Thanks for all your hard work.
TQ so much!!
Thanks. I used your article to widen my posting area by 100px and it worked great. I mentioned that fact and linked back to this on my blog.
Is there any way to widen the side bar a small amount (say 50px)?
Oops. Some problems with one of my elements. The Blog List element no longer shows the title of the most recent post.
It's working now.
Widening the sidebar AND the post area will need another set of images. If you want it done, contact me on bloggerguide at gmail dot com
Thanks a lot dude
Thankyou it's exactly what I was looking for and everything worked like a charm. Can I center the image in my header too, without changing the text placement? Thankyou again!
Centering the header image needs some tweaking in the template. What I would recommend is expanding it to match the new blog width.
Thank you!! perfect!
Absolutely brilliant stuff. Thanks heaps for that mate
hi thanks for this is very useful...is it only expandable by 900px? i tried 950 but the image color is different... its as if i have another column with different color...pls help thanks.
@ Insider-Insights,
It is possible to expand to any size, but you need the correct size images. This tutorial will only work for 900 px.
If you need help with custom size expansions, please drop me a mail.
Thank you for that, link duly added!
Post a Comment
Thanks in advance for all your comments and suggestions. They are very much appreciated.
IMPORTANT:
If you have a specific technical question, please email me with a description of the problem and the blog's URL.