How to Make Any Blogger Widget/Gadget/web element Sticky (float)

 How to Make Any Blogger Widget/Gadget/web element Sticky (float)


Sticky widgets are widgets/gadgets in a webpage which sticks to a specific portion of the page and floats (move) with the up and down scrolling of the page.

At this post I will show you how to make a sticky widget on blogger ( this is just an example, to put on any site can be done with this method, javascript and css included)

1. Get The Widget ID.

    every blogger widget have a specific id. To get this you can go to blogger dashboard then edit a gadget to make it sticky



2. Add Style

search for </style> add this style :





3. Add this Script :






4. Go to end of body, search for </body>
call the script :





5. Save Template. 

goto your blogger site and reload/refresh.

here is the video tutorial :




Comments

Popular posts from this blog

How To Show Only Post Thumbnails And Snippets In Blogger Blog Homepage

Structure of Custom Blogger Template