Step 1:
When you go to Page Elements/Layout, you will see boxes where you can 'Add a Gadget'. Those are sections (not technically, but for the sake of simplicity, just assume it is). You can generally split a section, but splitting in two is not the aim of this tutorial, as your header will be half the width of your entire header. That's not what we want.
We want the header to be intact. So, we need to measure the width of the unused space. You can use various methods to measure the width of your unused space:
When you go to Page Elements/Layout, you will see boxes where you can 'Add a Gadget'. Those are sections (not technically, but for the sake of simplicity, just assume it is). You can generally split a section, but splitting in two is not the aim of this tutorial, as your header will be half the width of your entire header. That's not what we want.
We want the header to be intact. So, we need to measure the width of the unused space. You can use various methods to measure the width of your unused space:
- Use an add-on called MeasureIt. If you're using Firefox for this tutorial, I suggest you get this add-on.
- You can use FireBug to see the width of the surrounding elements and then estimate the width of your unused space.
- Trial and error. Use a value, preview and see if it's fine. Then use another one, and keep doing it till you're satisfied with the results.
Step 2:
If you're using the old Blogger interface: Go to Dashboard - Design - Edit HTML - Back Up (Download Full Template) -
If you're using the new Blogger interface: Go to Dashboard - Template - Backup/Restore - Download Full Template - Close - Edit HTML - Proceed -
Find for these lines:
If you're using the old Blogger interface: Go to Dashboard - Design - Edit HTML - Back Up (Download Full Template) -
If you're using the new Blogger interface: Go to Dashboard - Template - Backup/Restore - Download Full Template - Close - Edit HTML - Proceed -
Find for these lines:
<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>Note: The 'title' attribute in this line will be different in your template. Don't worry about it, just delete these lines.
<b:widget id='Header1' locked='true' title='Test Blog 18 (Header)' type='Header'>
<b:includable id='main'>…</b:includable>
<b:includable id='description'>…</b:includable>
<b:includable id='title'>…</b:includable>
</b:widget>
</b:section>
Step 3:
Paste the following line directly above the lines found in Step 2:
And then, insert the following line directly below the lines found in Step 2:
This is what the final code should look like after the two additions above:
Paste the following line directly above the lines found in Step 2:
<table><tr><td>You have to insert the width of your unused space in line 5 above. Change 310px to the value that you've gotten in Step 1. Click on Save Template once you're done.
And then, insert the following line directly below the lines found in Step 2:
</td>You have to insert the width of your unused space in line 2 above. Change 310px to the value that you've gotten in Step 1. Click on Save Template once you're done.
<td style="width: 310px;">
<b:section class='header' id='header2' maxwidgets='1' showaddelement='yes'/>
</td></tr></table>
This is what the final code should look like after the two additions above:
<table><tr><td>
<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
<b:widget id='Header1' locked='true' title='Test Blog 18 (Header)' type='Header'>
<b:includable id='main'>…</b:includable>
<b:includable id='description'>…</b:includable>
<b:includable id='title'>…</b:includable>
</b:widget>
</b:section>
</td>
<td style="width: 310px;">
<b:section class='header' id='header2' maxwidgets='1' showaddelement='yes'/>
</td></tr></table>
0 comments:
Post a Comment