Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Adding custom HTML and inline javascript into Dawn Theme custom liquid section

Adding custom HTML and inline javascript into Dawn Theme custom liquid section

TimmoB
Visitor
2 0 2

HI all,

I'm looking at upgrading my shopify site using the dawn theme.
My current site has a lot of custom pages that use the custom html section. Allowing me to add custom html and javascript to do stuff like randomise how the content loads on the page.

But when i try to add the code to the custom liquid section, i get this:
'This code has errors. Correct the syntax to save your custom Liquid.'

Do i need to place any tags around the javascript? 

Replies 0 (0)