How To Get the ID of Any Blogger Widget

Identifying the id of a Blogger gadget will make it very easy for you to customize the gadget using CSS. eg if it is a Link List gadget, you can easily use css to add scrolling effect, change the font text, add dotted border etc provided you know the id of the gadget. More so, if you want a gadget to show on your Blogger mobile template, you will need its ID in order to add the mobile=’yes’ to it’s code in your Blog’s html.

If you use the “Add a Gadget” link in Blogger Layout to add a widget to your Blogspot blog, Blogger will automatically generate an id for the widget. Although, you can get the id of any widget added to a Blogger blog inside the template HTML code but there is a simpler way you can get it without the need to search your Blog’s HTML.

The simpler method is what I’ve decided to share with you in this tutorial.

As an example, I’m going to check the id of an Adsense widget I added to my blog using the Adsense Gadget. Follow me through the steps:

==> Log in to your blogger dashboard
==> Go to “Layout” and locate the widget
==>  Click the “edit” link of the widget. Widget configuration window like the one below will pop up


==> Look closely at the window and you will notice that the widget id is in the URL of the widget as highlighted in the screenshot above.

From the screenshot above, you will notice there is &widgetId=AdSense7 in the URL. This means the id of the Adsense widget is  AdSense7. (Capital letter “S”).

That’s all.

See also :   How To Edit Author Text of Blogger Profile Widget

Now, you can use the id as a selector in stylesheet when styling the widget. To do this, you will need to add the pound sign “#”as a prefix eg #WidgetID{ }

For example, if I want to centralize the Adsense widget, I can add the code below to the css section of my blog’s html.

#AdSense7 {

I hope this helps.

You might be interested in:
How To Centralize Title and Description of Blogger Blog.
How To Centralize Ads Added Using Adsense Gadget
How To Center AdDynamo Ads


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
  1. wow! Nice share there Jide. With this, I think I can now style any widget anyhow I want eg, can add different background color to all my sidebar widgets etc using css. right?

  2. Good mrng Mr Jide pls i've not been able to show widget on mobile view of blog template, it works for me some time ago but i dnt seems to undrstnd the changes in blogger dashboard.
    Pls put ms through.

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

How Facebook Tagging Can Drive More Traffic To Your Blog

Web Address Option of Blogger Pages Replaced With Add Link Page