Align Adsense Widget on Blogger

1. Go to Blogger Dashboard.

2. Go to Layouts and click on Edit Html subtab of Template tab.

3. Backup your template to PC.

4. Then put a check in Expand Widgets Template box at top of Edit Template text box and scroll down to or Ctrl+F <b:widget id='AdSense to this line :

Then add align='center'. Like this…

<b:widget id='AdSense1' locked='false' title='' type='AdSense'>
<b:includable id='main'>
<div class='widget-content'>
<data:adCode/>
</div>
</b:includable>
</b:widget>


Code AFTER changes:

<b:widget id='AdSense1' locked='false' title='' type='AdSense'>
<b:includable id='main'>
<div align='center' class='widget-content'>
<data:adCode/>
</div>
</b:includable>
</b:widget>

optional

align='center'

align='left'

align='right'

1 comments:

Alex said...

Thank you so much!

http://cautwomen.blogspot.com