The new Blogger Template Designer makes changing column widths a lot easier. In regular (non Template Designer) layout template,
changing blog width requires some code editing in template HTML. With Template Designer you can stay away from the codes, because it can be done from within the designer itself I. Changing column widths
Here’s what to do,- Login to your Blogger account.
- Go to Dashboard > Design > Template Designer.
- In Blogger Template Designer page click Layout. Then select Adjust Width.
- Use the slider to adjust the width. You have (maximum of) three adjustable widths. Below are the names and their width range (in px):
- Entire blog -500px (minimum) to 1000px (maximum)
- Left sidebar -100px to 500px
- Right sidebar -100px to 500px
- Use the slider to change the width. Changes you make will be reflected instantly in a live preview beneath the editor.
- If you like the result, click the orange Apply to Blog button to save.
II. Changing sub-column widths
If you select a layout with sub-columns, like an example on the right, you would have noticed that sub-columns are set to have equal widths (50%-50%) by default.You can change that in Template Designer > Advanced > Add CSS, by entering this code in the editor:
1 | table.section-columns td.first.columns-cell { width : 70% ;} |
2 | table.section-columns td.columns-cell { width : 30% ;} |
III. Setting width beyond the adjustable range
If the width you want is wider than the upper limit (or narrower than the lower limit), then you have no choice but to enter template HTML to perform the changes:- Go to Dashboard > Design > Edit HTML.
- Look for following lines in your HTML code:
1
<
b:template-skin
>
2
<
b:variable
default
=
'930px'
name
=
'content.width'
type
=
'length'
value
=
'1000px'
/>
3
<
b:variable
default
=
'0'
name
=
'main.column.left.width'
type
=
'length'
value
=
'360px'
/>
4
<
b:variable
default
=
'360px'
name
=
'main.column.right.width'
type
=
'length'
value
=
'220px'
/>
- Code line 2 is for Entire blog
- Line 3 is for Left sidebar, and
- Line 4 is for Right sidebar.
- Just change the value of
value
attribute at the end of the code line to your desired value. For example, to set the width of Entire blog to 1200px, just change the figure 1000px to 1200px in line 1.
Post a Comment