How To Centralize Ads Added Using Adsense Gadget

Without knowing how to make your widgets to appear in the center of your blog header or sidebars, your blog might look scattered and unprofessional. I have stumbled on so many blogs where I notice Adsense ads not well centered, hence the need for this tutorial.

If you apply the trick I shared when I explained how to center Ad dynamo ads in blog header, you will be able to do same for your Google Adsense ads provided you added the ad code to your blog’s header or sidebar using the Blogger HTML/Javascript gadget. The trick will not work if you used the Adsense gadget.

To make Adsense ads added with Adsense gadget to appear in the center of your blog header or sidebars, follow the steps below:

==> Log in to your blogger dashboard
==> Go to “Layout” and click the “edit” link of the Adsense widget you want to reposition
==> Get the widget ID (eg AdSense7) from the URL bar as seen in the screenshot below and take note of it.


Note: In this sample screenshot above, it is AdSense7 and not Adsense7 (Capital letter “S”)

==> Go to “Template” > “Customize” > “Advanced” > “Add CSS”. Click on it.

==> A box will appear by the right hand side. Copy and paste the code below in it

#AdSense7 {

==> Click “Apply to Blog” by the top right hand corner.

If you view your blog, the Google ad should now be at the center of your blog header or sidebar.

See also :   How To Add Vertical Related Posts Widget To Blogger Blog Sidebar

If you have more than one of such ads that you want to reposition, you can use the format below:

#AdSense7, #AdSense3 {

That’s all.

NOTE: If your template is not compatible with the Template designer, go to “template” > “Edit HTML” and paste the code directly above the  ]]></b:skin>

I hope this helps.

You might be interested in: How To Centralize Title and Description of Blogger Blog.


Please Share :

Written by Jide Ogunsanya

Pro Nigerian Blogger, Digital Marketer and Web designer. I help business owners to grow their businesses online. You can join my Facebook Group here.


Leave a Reply
    • You can if you get the widgetID of the Ad dynamo ad but that's a long process. Since you can only add Addynamo ads using HTML?Javascript gadget, just add <center> at the top of the code and </center> at the end of the ad code. I referenced the tutorial in this post.

  1. Please Jide, is it only Google Adsense Ads code i can insert into my blog html for it to show below post tittle? If No, then which other Ads code can i insert into it for it to show below post tittle? Thanks

Leave a Reply

We're glad you have chosen to leave a comment. Please keep in mind that comments are moderated according to our comment policy. Your email address is required but will not be published. No keyword stuffing in the name field and commenting from blah blah blah makes no sense. Thank You.

  • Millionaire Reveals How You Can Make Millions Doing What You LoveRead More
  • Free Ebook Explains How To Design WebsiteDownload Now
  • We can help you ship items from Amazon USA to NigeriaMore Info
  • Do you want to ask some questions?Click To Ask

APN Settings of Airtel Nigeria for Android, iPad, iPhone, Nokia and PC

12 Ways I Make Money Online as a Nigerian