Re-Align the Sidebar Titles

If you want to change the alignment of your sidebar titles the only thing you have to do is add...

align='center' or align='right'

to the Blogger code

<b:section class="'sidebar'" id="'sidebar'" preferred="'yes'">
<b:widget id="'HTML2'" locked="'false'" title="'Advertisements'" type="'HTML'">
<b:includable id="'main'">
<!-- only display title if it's non-empty -->
<b:if cond="'data:title">
</b:if></b:includable></b:widget></b:section><h2 class="'title'">
>

TEMPLATE >> EDIT HTML >> EXPAND WIDGET TEMPLATES

Now look for your Sidebar titles. It's easy to find. The sidebar starts with this line <div id='sidebar-wrapper'> and each widget starts with the widget name (example advertisements) in the second line. So now you need to add your alignment.

<b:section class="'sidebar'" id="'sidebar'" preferred="'yes'">
<b:widget id="'HTML2'" locked="'false'" title="'Advertisements'" type="'HTML'">
<b:includable id="'main'">
<!-- only display title if it's non-empty -->
<b:if cond="'data:title">
</b:if></b:includable></b:widget></b:section><h2 align='center' class="'title'">

<div class="'widget-content'">
<data:content>
</data:content></div>


Questions? Ask away.

No comments:

Post a Comment