Saturday, 29 April 2017

Adding Scrollable Sticky Navigation Menu To Blogger

Sticky Navigation menu

The sticky menu is also known as the Fixed Menu as it allows a website visitor to make hassle-free navigation along the Blogger menu. A fixed menu remains appeared at the top of blogger even when we scroll down. On the other hand, a Sticky/Fixed navigation bar remains at its fixed position when we play with our mouse scroll bar. Sticky navigation bar lets our website visitors keep an eye on our BlogSpot menu continuously as it doesn't get disturbed by scrolling down.

Checkout: How to Remove LTR and Trbidi From BlogSpot Posts

You might have seen on many Blogs and Websites, whenever you scroll down the website menu gets disappeared thus we use Back to Top button (If available) in order to make it appear again. If the website doesn't have Back to the Top option we keep scrolling back to get access to the navigation menu. There are many professional bloggers who know the truth behind the fixed navigation menus. It makes a website visitor stay on our Website for a long time.

Recommended: Strip Slideshow Widget Recommended for Blogger Sites

Creating Sticky/Fixed Navigation Menu In BlogSpot Blogger

  1. Go to your Blogger Dashboard > Theme > Edit HTML
  2. Click anywhere inside the template editor
  3. Press Ctrl + F to open the Search box
  4. Type ]]></b:skin> in the search box and press Enter Key
  5. Paste the given code just above the ]]></b:skin>
  6. .sticky{position:fixed!important;top:0;z-index:99;-webkit-transform:translateZ(0);}
  7. Now again repeat the step 4 but here you've to type the </body> instead of ]]></b:skin>
  8. After you find the </body> paste the given code just above the it and click Save Theme
<script type='text/javascript'>
// Sticky Menubar
function makemeSticky(e){function t(){var e=s.getBoundingClientRect();<0?(n.className=a+" sticky","px"):n.className=a}var n=document.getElementById(e),s=document.createElement("div");n.parentNode.insertBefore(s,n);var i=n.offsetWidth,a=n.className+" makesticky";window.addEventListener("scroll",t,!1)}makemeSticky("menu-wrapper");

Before you hit the Save button, replace the blue text with your Navigation Menu ID. Your Navigation menu ID can be found by clicking the Right-Click on your Navigation menu or find it directly from the template editor.

Having trouble with this tutorial? Post your valuable comments and let us help you.

Discover How to Grow Your Blog to 2k+ Visits /Day

Get Free Access

More From Knigulper

Comment Policy

Please Keep in mind that all comments are moderated manually & by default, all the links in comment area are set to nofollow. Using hyperlinks in comment is forbidden and such comments will not be published. Let's enjoy a spam-free conversation.


  1. thanks for your great work i have never seen a blog like this thanks!!

    1. Thank you M.Abbas Cana! A lot of fresh widgets and plugins are being developed! Keep visiting ;)

  2. Awesome trick I love your work it works on my blog

  3. Thank you ; love your work; i set my blog -check