Sticky header using jquery
Sticky header using jquery When you scroll down a page with a long layout on it, typically the header of the top scrolls away and becomes useless sticky header using jquery, A simple way. <script> var header = $("#header"); header.on("scroll", function(e) { if (this.scrollTop > 200) { header.addClass("fix-header"); } else{ header.removeClass("fix-search"); } }); </script> More information please visit this url https://www.papawebdesigner.com/ Fixed header area. See demo here... Follow On Social Media - Follow on Facebook - https://www.facebook.com/Front-End-Issue-487743404963344 Follow on instagram - https://www.instagram.com/frontendissue/ Follow on Twitter - https://twitter.com/IssueEnd Follow on Linkedin ...