js header

This commit is contained in:
2024-02-28 10:39:17 +01:00
parent 12903709d1
commit acf5638ebd
4 changed files with 57 additions and 36 deletions

View File

@@ -31,9 +31,12 @@
// });
$('.open-block').click(function(){
$(this).prev().css("display","grid");
$(this).toggleClass('opened');
if(mobile == true){
$("body").css("overflow","hidden");
}
});
// Hide the header_nav_container when a link inside it is clicked