I added Google Adsense to my blog yesterday. I noticed immediately that inline ads (the ads between posts) were left aligned, and overlapped with my blog frame. It's ugly.
The following are the steps I took to center align inline ads:
- Log into Blogger account.
- From Dashboard, click Layout
- Click Edit HTML, then check the Expand Widget Templates box.
- Click in text area, search (press Ctrl+F) for inline-ad
- The string found should be <div class='inline-ad'>; change it into <div align='center' class='inline-ad'>
- Click the SAVE TEMPLATE button.
- Click View Blog to see inline ads center aligned.
No comments:
Post a Comment