I’m trying to create a slide-out effect where the burger menu pushes the rest of the website content to the right when opened.
Example website: https://tcbjeans.myshopify.com/
Thank you.
I’m trying to create a slide-out effect where the burger menu pushes the rest of the website content to the right when opened.
Example website: https://tcbjeans.myshopify.com/
Thank you.
Hello @old_coat90
.js-drawer-open-left .page-container, .js-drawer-open-left .drawer__header-container {
transform: unset !important;
}
.js-drawer-open-left {
overflow: visible !important;
}
Hi @Lakshya_design ,
Thanks so much for you reply.
There’s no file called ‘theme.scss.css’. I tried base.css instead but it did not work.
I’m using Dawn 15.3.0.
Hey! @old_coat90 ,
Could you kindly share your store URL and password (if it’s password-protected) so I can review it and provide you with an update?
Paste this code into “Theme settings”=> “Custom CSS”:
main {
transition: transform var(--duration-default) ease;
}
body:has(.menu-drawer-container.menu-opening) main {
transform: translateX(40rem);
}
Worked! Thanks @tim_1 ., much appreciated!