How can I edit the Dawn Theme code to add a collection as content?

The Dawn Theme collapsible content row will only allow a page to be the selected content. I would like to choose from and add one of my collections as content, not a page. Can anyone assist with the code I need to edit to make this happen?

@greenfrog3 Please share your store URL and send a screenshot so, I can check and assist you better.

I haven’t got the collapsible tab feature active on my website yet as it doesn’t allow the content to be a collection, only page, as pictured. Any assistance is much appreciated. Thank you

@greenfrog3 Do you like to show only Collection content? or collection products? and this solution requires some customization in 2-3 files so difficult share it here. I suggest to hire any developer or contact me by mail for more help.

Hi @greenfrog3 ,

Please go to sections > collapsible-content.liquid file, add code at line 70 and 498.

Code:

{{ block.settings.collection.description }}
,
{
          "type": "collection",
          "id": "collection",
          "label": "Row content from collection"
}

Then you just need to select the collection, it will display the description of the collection in the content.

Hope it is clear to you.

Hello @LitExtension ,

Although I did what you said, it still gets content from the page. But I don’t want it to get from a page because the information on each product may be different.

I would be delighted if you could help.

Hi @RiverRise ,

You can create a question on the community and send me the link. I will check it.
Because this will help build a better community.
Thank you.

Hello @LitExtension , the link;

https://community.shopify.com/post/1730473