js & css header

This commit is contained in:
2024-02-28 11:08:13 +01:00
parent acf5638ebd
commit 95d1071547
3 changed files with 20 additions and 45 deletions

View File

@@ -21,18 +21,11 @@
jQuery(document).ready(function($){
// $('.close-block').click(function(){
// $(this).parent().fadeOut();
// if(mobile == true){
// $("body").css("overflow","auto");
// }
// });
$('.open-block').click(function(){
$(this).prev().css("display","grid");
$(this).toggleClass('opened');
$('.header_nav_container').toggleClass('display-nav-opened');
if(mobile == true){
$("body").css("overflow","hidden");
}
@@ -43,6 +36,7 @@
$('.header_nav_container li').click(function() {
$('.header_nav_container').fadeOut();
});
});