Drawer menu isnt showing and makes screen gray

drawer menu on my website

doesnt work, it makes the screen grey and dont open any menu

I also have an error in my theme.liquid

@user3579 please add this css to the very end of your base.css file and check

shopify admin->online store->themes->edit theme code->assets->base.css

.menu-drawer-container.menu-opening .menu-drawer{visibility: visible !important;}

NO, this is not to be fixed with CSS.

Follow this recommendation:

can u tell me how to restore it?

There is a link to github with the theme original source code in the linked post

Go to your site, Online Store, then “Edit theme code”

Go to layouts/theme.liquid and restore the very top of that file – first 2 lines, I believe.

You can actually try adding a direction as well – it may help because I see there are attempts to fix it with CSS…

<html class="js" lang="{{ request.locale.iso_code }}" dir="rtl">

it worked thx, but now theres

a new error and the menu appears out with no animation

This warning you can safely ignore. See Problem in the liquid theme code - #6 by tim_1

I actually see animation, it’s just it’s a bit strange, probably because of RTL.

theres a way to make the menu appear on the right site with normal animation

?

@user3579 try my given css, if any issue appears we can try to solve it

it didnt do nothing, the menu still appears on the wrong side with bad animation

Theme already has CSS to show menu drawer. It does not work because <html> misses the class js. Actually, there was no <html> in their theme code at all.
Your may work, but without <html> their HTML code is still invalid.

Ok, so you want your menu to slide in from the right?
Even though the open and close buttons are still on the left?

look, my buttons are on left side and the menu opens from right

@user3579 add this line

.js details[open].menu-opening>.menu-drawer{left: 0 !important;}

Ok, if you need to keep buttons on the left, but menu should slide in from the right, add this to the “Theme settings”(cog icon)=> “Custom CSS”:

.menu-drawer {
  transform: translate(100%);
}

to where? and theres a way to make all text in middle

@user3579 add to the very end of your base.css file, also to make it center, add this line as well

.list-menu__item{justify-content: center;}
.menu-drawer__account {justify-content: center;  width: 100%;}

The code I mentioned should go to this entry field:

.menu-drawer {
  transform: translate(100%);
}

thanks it worked, but the animation doesnt work on computer