Thanks for your post. I tried that and it’s showing up, but half the width of the section and very small.
Topic summary
A user seeks to embed a Google Map on their Dawn theme homepage or contact page. A tutorial video for another theme didn’t work for Dawn.
Solution provided:
- Get the embed code from Google Maps (Share → Embed a map → Copy HTML)
- Edit
theme.liquidfile in the theme code editor - Paste the iframe code before
</main>tag, wrapped in Liquid conditional logic:{% if template contains 'index' or template contains 'contact' %} <iframe src="..."></iframe> {% endif %} - Adjust dimensions: set
width="100%"and increaseheightvalue for better display
Additional questions addressed:
- Centering the map: Not fully resolved; users requested CSS guidance
- Positioning: To place at bottom (above footer), code placement in
theme.liquidmatters - Page-specific display: Modify the conditional statement to target specific pages (e.g.,
{% if template contains 'contact' %}for contact page only)
The original poster confirmed the solution works after adjusting width to 100%. An alternative app-based solution (IzyMaps) was also mentioned for users preferring a no-code approach.