Modify menu position (advanced)
Last updated
Last updated
This guide walks you through placing the Globo Mega Menu precisely where you want it within your Shopify theme. Ideal for those comfortable with editing theme code, this method offers full control over menu placement.
Navigate to your Shopify Admin panel.
Go to Online Store > Themes.
Find your active theme and click Actions > Edit Code.
Determine where you want the menus to appear:
Desktop Menu: Typically placed in header.liquid
.
Mobile Menu: Often located in theme.liquid
or a mobile-specific file.
Insert the following HTML snippets where appropriate:
Desktop Menu Container:
Mobile Menu Container:
These <div>
elements act as placeholders, allowing the Globo Mega Menu app to render menus at these specific locations.
For precise control over menu placement, specify the exact CSS selectors corresponding to your theme's menu elements:
Open the Globo Mega Menu app.
Navigate to General Settings.
Choose Show menu on this CSS selector.
In the CSS Selector of your main menu field, enter #GloboDesktopMenu
In the CSS Selector of your mobile menu field, enter #GloboMobileMenu
Click Save to apply the changes.
Click Save to apply your changes.
Visit your storefront to ensure the menus appear as intended.
If adjustments are needed, revisit the code editor to fine-tune placement.
Theme Variations: Theme structures can vary. If you're unsure about where to place the menu containers, consult your theme's documentation or seek assistance.
Responsive Design: Ensure that the menu placement works well on both desktop and mobile devices for optimal user experience.
Backup: Before making changes, consider backing up your theme to prevent any unintended issues.
Email us at 📧 [email protected] - we’re happy to assist!