How can I assign a different color to the border of an expanded accordion ? I need 2 different border colors for 2 different situations of an accordion.
I’m sorry but what you’re trying t achieve is possible only with custom development. Accordion heading and content wrapped in one <div> which has the border, some classes are being added/removed to/from heading and content are when an accordion element is expanded but the main <div> class is the same, so we can’t target it.