Menu
$(window).on(“scroll”, function() {
var scroll = $(window).scrollTop();
if (scroll < 150) {
$(“.header-middle”).removeClass(“is-isticky”);
} else {
$(“.header-middle”).addClass(“is-isticky”);
}
});
this code adds and removes class is-sticky
In this code I would like to remove 2 classes that are inside the header-middle (.logo and .nav-right)
but this when also: scroll <150