Hello dear community! I can’t seem to find a way to center the items below in the mega menu on phone view.
Anyone has any suggestions? Thank you in advance!
Website - MAISON MAGDALENA
Password - MaisonMagdalena.222
A user is experiencing alignment issues with mega menu items in mobile view on their Shopify Dawn theme store. The menu items are not centered as desired.
Proposed Solution:
Another community member suggests using Chrome’s element inspector (Ctrl+Shift+C) to identify the correct CSS selectors. Two CSS approaches are recommended:
.menu-drawer__inner-submenu button.link--text with justify-content: center;text-align: center;, display: inline-block;, and width: 100%; on the same selectorThe responder notes that positioning the arrow element separately may require targeting a different selector (.menu-drawer__inner-submenu button.link--text svg).
Status: The issue remains open with a technical solution provided but not yet confirmed as implemented or successful.
Hello dear community! I can’t seem to find a way to center the items below in the mega menu on phone view.
Anyone has any suggestions? Thank you in advance!
Website - MAISON MAGDALENA
Password - MaisonMagdalena.222
If using chrome browser press ctrl+shift+c to open the element inspector to help find the css selector to target an element for styling.
It should be
.menu-drawer__inner-submenu button.link--text {
justify-content: center;
}
Alternatively override the flexbox
.menu-drawer__inner-submenu button.link--text {
text-align: center;
display: inline-block;
width: 100%;
}
if your trying to position the arrow separately that selector should be “.menu-drawer__inner-submenu button.link–text svg” the selector.