Custom HTML
Embed any HTML in the menu, such as a Google Map or a YouTube video.
Any HTML you paste, shown inside the mega menu. Use it for content the other blocks don’t cover: a map of your shop, a video, an embed from another service or formatted text.
Add the block
-
Copy the embed code
Google Maps: search for your location, then click Share > Embed a map > Copy HTML. YouTube: open the video, then click Share > Embed > Copy.
-
Pick the layout
In the mega menu panel of the preview, click Add block. Click Add HTML to menu, hover over Custom html and click Select.
(1) Click Add HTML to menu, (2) pick Custom html. -
Paste the code
In Edit Item, enter an optional Title and paste your code into the Add HTML to menu box.
The Custom HTML block in the preview, with its settings in Edit Item. -
Save and publish
Click Save, then Publish, and check the result on your storefront.
Settings
- Width
- How much of the mega menu row the block takes: Auto or 8.33% to 100%.
- Title
- Heading above your HTML. Leave it empty for no heading.
- Add HTML to menu
- The HTML code to show.
- Visibility
- Hide on desktop, Hide on mobile, Hide when logged in, Only show when logged in, Schedule publishing. See Settings every block has.
Tips
- Embed codes usually have a fixed width, for example
width="600". Change it towidth="100%"so the map or video fits the block. - Multi block > Map + Contact + Address adds a map, a contact form and your address in one click.
Troubleshooting
My content has extra gaps
Each line break in the code shows as a line break on the page. Paste embed codes on one line, or remove empty lines between tags.
Was this helpful?
Thanks for your feedback! Tell us what was missing
Report an issue