A user seeks help embedding a Klaviyo signup form (HTML code) directly into the Dawn theme’s Image Banner section. The form displays in the Theme Customizer but doesn’t appear on the actual page.
Initial Approach:
User attempted to modify image-banner.liquid by adding HTML and schema blocks
Code appeared in customizer but failed to render on live page
Solution Provided:
Another user recommended using custom_liquid instead of html as the block type, referencing main-product.liquid as a template:
HTML block:
{%- when 'custom_liquid' -%}
{{ block.settings.custom_liquid }}
Schema:
"type": "custom_liquid"
"id": "custom_liquid"
Outcome:
Solution confirmed working with minor translation errors on lines 102 and 380
One user still requests full code for embedding Klaviyo app into image banner
Status: Partially resolved - main issue solved, but additional clarification requested by later participant.
Summarized with AI on November 16.
AI used: claude-sonnet-4-5-20250929.
I added these so that I could hopefully add in some HTML code into the image banner directly. It shows up on the Theme Customiser but when i view the page, there is no signup form in place.
Have i done something wrong? is there another way to do this at all? I’ve attached a screenshot of how it should look.
If you want guidance, the better option is the main-product.liquid, since they have a custom liquid that is in a block not a section. I believe what you are trying to achieve is block of code
HTML
{%- when 'custom_liquid' -%}
{{ block.settings.custom_liquid }}
Made4Uo, you beautiful thing! Thank you. Works perfectly, minus some translation errors, pasted the first block on line 102 and the second on line 380.