How can I custom code accordion tabs for Impulse theme?

I am currently migrating my Minimal store to Impulse. I found this brilliant tutorial online about custom coding accordion tabs that are a better UX than the standard, but it is written for the free themes eg Dawn.

I’ve had a crack at tweaking it to work for Impulse but I’m not getting very far, and wondered whether anyone can help me please. I think on Impulse the code would start at around line 164 on product-template.liquid

This is the link to the tutorial

https://ed.codes/blogs/tutorials/shopify-hiding-a-long-description-in-collapsible-accordion-on-free-themes

I’d really like to use the full width layout too, which the tutorial doesn’t cover.

If anyone can help me out here, I’d really appreciate it.

Thank you

Hey @BonzaDogTreats ,

The requirements which you have specified above can be achieved. Please share you store preview Url and Password.

Best Regards,

Reena

@BonzaDogTreats

can you please send your sore url so i will check and let you know

Thanks, I’ve got it sorted

@BonzaDogTreats

wow that would be great