Change Accordion Text Color When Active

Hi,

Assuming we are talking about the text “Click here for Details” only then I’m a little confused because if you change the text to white then it will match the white background and be invisible?

That will make it almost impossible to close the accordion again unless by accident.

The js is adding a class to that text so you can change it to white if you want like this:

.open-close.current a{color:#fff}

However if you actually wanted to hide it then instead use visibility:hidden (to preserve the space) or display:none (to collapse the space).