Sharing our technical trials in terms of Ubuntu software installs, Blogger hacks, Android and Kotlin learning.
How to fix unable to add or reposition gadget on Blogger
How to fix unable to add or reposition gadget on Blogger

How to fix unable to add or reposition gadget on Blogger

The post briefs on how to fix unable to add or reposition gadget issue on Blogger.

After adding a gadget on Blogger if you want to reposition the gadget you can do that by simple drag and drop. But sometimes the drag and drop doesn’t seem to work and gadget returns to the previous position. That is because reposition of gadget depends on some of the properties and value each of these properties take.

Reposition gadgets

1. Choose “Layout” from left menu, this shows section like Header, Main, Sidebar and Footer, as per the applied theme.

2. Each of these sections would have settings that allow adding or repositioning of the gadgets.

3. Properties that define repositioning are

  • Maximum gadget count.
  • Preferred container flag.
  • Show link to “Add a Gadget”. 
  • gadget lock. 

Based on what value each of these properties have, you will be able to add or reposition the gadgets.

Fix for unable to reposition gadget on Blogger


1. Choose “Theme” from left menu.

2. Click on the arrow by the “Customize” button and select “Edit HTML”.

edit html option to see the HTML code of the theme applied

3. This open the HTML page of the theme applied, now click on the page and press CTRL+F. 

4. In the search box that opens up search for the section name, under which you were not able to add a gadget.

search for section to see parameters under the section

5. And check for the attributes used, if the section has one of the attributes mention above, change them accordingly to enable adding or moving the gadget. 

Reference example: 

  • If you were not able to add gadget under header
  • From left menu -> Layout – > in the layout check for the name used for header section (in our example it is “headersec”).
  • After knowing the name, from left menu -> Theme -> arrow by the customise button -> Edit HTML.
  • In the HTML editor search by that name, in our case it is “headersec”.
  • Now, in our example the “headersec” had attributes 
  • maxwidgets=’1′
  • locked=’true’
  • showaddelement=’no’

As maxwidgets is set to “1” we were not able to add any new gadget under header section, and as locked is set to “true” we will not able to move the gadget present under header section.

Changing these attributes would enable you to add and move gadgets under header section.

Additional Info

  •  maxwidgets=’1′ defined under any section will allow only 1 widget to be added under that section. Number defines the number of gadgets allowed.
  •  preferred=’yes’ is usually defined under the Sidebar section, this indicates that any new widget added by default will be placed under Sidebar. To add the gadget under any other section you must drag it from Sidebar and drop it onto the other section.
  •  showaddelement=’yes’ defined under any section will have the “Add a Gadget” link.
  •  locked=’true’ indicates that the gadget will be locked and cannot be moved.

You can also checkout a YouTube video on the same