function collapseNavbar() {
    if ($(".navbar").offset().top > 450 ) {
        $(".navbar-fixed-top").addClass("top-nav-collapse");
        $(".navbar-fixed-top").addClass("top-nav-collapse");
       
        

    } else {
        $(".navbar-fixed-top").removeClass("top-nav-collapse");
         
         
         
         
    }
}
// jQuery to collapse the navbar on scroll
jQuery to collapse the navbar on scroll
jQuery to collapse the navbar on scroll
function collapseNavbar() {
    if ($(".navbar").offset().top > 450 ) {
        $(".navbar-fixed-top").addClass("top-nav-collapse");
        $(".navbar-fixed-top").addClass("top-nav-collapse");
    } else {
        $(".navbar-fixed-top").removeClass("top-nav-collapse");
    }
}
function collapseNavbar ( ) { if ( $ ( ".navbar" ) . offset ( ) . top > 450 ) { $ ( ".navbar-fixed-top" ) . addClass ( "top-nav-collapse" ) ; $ ( ".navbar-fixed-top" ) . addClass ( "top-nav-collapse" ) ; } else { $ ( ".navbar-fixed-top" ) . removeClass ( "top-nav-collapse" ) ; } }
jQuery to collapse the navbar on scroll
jQuery to collapse the navbar on scroll