Adding Images to Collapsible Rows in Ritual Theme

Hi, I’m trying to create an accordion/collapsible row in Ritual theme. I’ve seen how to do this in Dawn theme here and on Youtube (https://www.youtube.com/watch?v=whS82msB5fU) but in Ritual I’m unable to find main-product.liquid. I can see something about _accordion-row.liquid (not sure if it would be here) but there is no ‘richtext’ I can see like in the Dawn theme. Thank you in advance.

Hi @Johnny999,

You just go to Customize and add ‘Custom section’ section, then add ‘Accordion’ block, it will display fine.

Hi, thanks for the reply. I’m able to add the accordion but the trouble I have is creating an image (or table) inside the collapsible row/accordion. For this I need to edit the code. If using Dawn theme I think I’d be able to do it from instructions I’ve seen online. I’m using Ritual theme though and don’t see anything on that about images in accordions.

Hi @Johnny999,

You just need to add Image block or other blocks, it will display well and more customization than Dawn theme.


If I managed to help you then a Like would be truly appreciated.

Ok, I think it works! Thank you very much! :slightly_smiling_face:

Hi @Johnny999,

It’s my pleasure

Hi, sorry to bother you. There appears to be an issue with this.

If I add an image for something then that image is used for all products. I only want that image for specific products/collections. For example I want to add an image for size guide for hoodies. When this is done it appears as an image for size guide for t-shirts too, which I don’t want.

Even when I select ‘connect dynamic source’ and choose from metafields, it only allows for one connection. See attachment. So this means ‘size guide for hoodies’ will show up for my t-shirts. This is different to connecting dynamic source for text where I can add multiple connections together and therefore it uses the metafields that are completed in the product page and doesn’t use the blank ones. Therefore ‘size guide for hoodies’ will only show for hoodies and ‘size guide for t-shirts’ will only be used for t-shirts.

Hi @Johnny999,

Can I send you a collaborator invitation? It will help me check this better.

Yes, you can send. Thank you

Btw, adding a table would also work, if adding an image isn’t possible.