Home App Docs Blog Github

How can I add a section in the middle of specific a product page?

How can I add a new section I created to specific part of a product or collection page? I read this article and I created the model and pasted the code in my theme.liquid but the block that is created is put on top of the product page, not in the center. What should I do to see this new section added where I need it?

Should the line of code be pasted somewhere in particular or only on the theme.liquid as explained in the article?

Hi!

The theme.liquid file will display content across your entire site, not only on the product or collection pages. Instead you can try installing the model snippet in the product.liquid or collection.liquid file.

1 Like