Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery(document).ready(function($) {
- $(window).scroll(function() {
- var scroll = $(window).scrollTop();
- if (scroll >= 0) {
- if ($(window).width() > 960) {
- $(".sticky-header-product").removeClass("d-none");
- $(".sticky-header-product").addClass("fixed-top");
- }} else {{
- $(".sticky-header-product").removeClass("fixed-top");
- $(".sticky-header-product").addClass("d-none");
- }
- }
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement