Hi,
Recently, I changed the menu from left to right. When I press the menu, the menu doesn’t open smoothly and the menu items don’t appear on the same side.
Is there a code I can add to resolve this issue?
Please check below URL:
A user changed their Shopify theme’s main menu navigation from left-aligned to right-aligned, but encountered issues with the opening animation and item alignment.
Problem Details:
Proposed Solution:
A community member suggested adding CSS code to the theme’s base.css file:
.menu-drawer with transform: translate(100%).details[open] .menu-opening > .menu-drawerright: 0 and left: auto with !important flagsStatus: Solution provided but not yet confirmed as resolved by the original poster.
Hi,
Recently, I changed the menu from left to right. When I press the menu, the menu doesn’t open smoothly and the menu items don’t appear on the same side.
Is there a code I can add to resolve this issue?
Please check below URL:
Hi @Alfarsi ,
Go to Assets > base.css and paste this at the bottom of the file:
.menu-drawer {
transform: translate(100%) !important;
right: 0 !important;
left: auto !important;
}
details[open].menu-opening>.menu-drawer {
transform: translate(0) !important;
}
Hope it helps!