Can you wrap JSON sections in html? (Or can you add non JSON code in JSON templates?)

If I want to have two JSON sections side-by-side inside a flexbox so I can have blocks on each section, can that be done?

Is it possible to somehow add html inside the JSON templates and wrap/embed the sections inside them?

Hi @dwightco ,

  • JSON sections: You just need to create template liquid and declare section.
    Code declare: {% section ‘header’ %} , refer https://shopify.dev/themes/architecture/sections
  • JSON templates: This is not possible, it is only declared with json structure, you cannot add HTML code for it.

Hope it clear to you.