Site Map

'); var minicart = $('.page-header .minicart-wrapper').detach(); $('.page-header .navigation').append(minicart); } } if (160>=$(window).scrollTop() && scrolled) { $('.page-header.sticky-header').css("height",'auto'); $('.page-header').removeClass("sticky-header"); scrolled = false; if ($(".page-header").hasClass("type1") || $(".page-header").hasClass("type2") || $(".page-header").hasClass("type6")) { var minicart; minicart = $('.page-header .navigation .minicart-wrapper').detach(); $('.minicart-place').after(minicart); $('.minicart-place').remove(); $('.page-header .minicart-wrapper-moved').addClass("minicart-wrapper") .removeClass("minicart-wrapper-moved").removeClass("hide"); } } } if ($('body').hasClass('mobile-sticky')) { if ($(window).width()<=991) { if (130<$(window).scrollTop() && !scrolled) { $('.page-header:not(.sticky-header)').css( "height",$('.page-header:not(.sticky-header)').height()+'px' ); $('.page-header').addClass("sticky-header"); scrolled = true; } if (130>=$(window).scrollTop() && scrolled) { $('.page-header.sticky-header').css("height",'auto'); $('.page-header').removeClass("sticky-header"); scrolled = false; } } } }); $(window).resize(function() { var b_w = $(window).width(); if (b_w <= 991) { if ($('.page-header .navigation .minicart-wrapper').length > 0) { var minicart; minicart = $('.page-header .navigation .minicart-wrapper').detach(); $('.minicart-place').after(minicart); $('.minicart-place').remove(); $('.page-header .minicart-wrapper-moved').addClass("minicart-wrapper") .removeClass("minicart-wrapper-moved") .removeClass("hide"); } } }); $("body").on("focus", "#search", function() { $(".ui-front.mage-dropdown-dialog").hide(); $(".minicart-wrapper.cart-design-2").removeClass('active'); $(".minicart-wrapper.cart-design-2 a").removeClass('active'); }); });