Elise, I’m trying to address same issues but the code you given isn’t working.
Can this be because of minified / cached versions from litespeed server? I purged all.
Or should this be done in some other way in order to work? Like unminify, apply, minify?
Thank you, Elise! By the way, is there an option to make attribute items work as dropdowns? Perhaps via external plugin you tested? I.e. expanding menus.