Hello @kirkcanada
You can change width and height in Iframe to suit your needs:
-
width=“100%”
-
height =“600” (Or maybe even bigger)
I hope the above is useful to you.
Kind & Best regards,
GemPages Support Team
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:
theme.liquid file in the theme code editor</main> tag, wrapped in Liquid conditional logic:{% if template contains 'index' or template contains 'contact' %}
<iframe src="..."></iframe>
{% endif %}
width="100%" and increase height value for better displayAdditional questions addressed:
theme.liquid matters{% 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.
Hello @kirkcanada
You can change width and height in Iframe to suit your needs:
width=“100%”
height =“600” (Or maybe even bigger)
I hope the above is useful to you.
Kind & Best regards,
GemPages Support Team