Inserting accordions on Catalog listing and program landing pages

Community Explorer

I would like to make our Catalog listing and program pages more attractive and one of the things I am trying to do is create an accordion. I have tried with CSS and JS and without. Multiple ways. The accordion seems to work initially in the program description editor... but as soon as I save, the code gets stripped. Has anyone successfully done this?