Accordion Item

Hello. I’ve check the forum on how to style the background color of 1 accordion item and found a few solutions, but none of them are working. I am adding some css in the “Element CSS” section of the builder.
The element class is .e795-18 x-acc. Am I not putting the code in the correct section?

Full code below.
`

DOWNLOADS
`

Hey @AnythingPixel,

You should not use the element’s class in there because the generated class are dynamic. It also does not target the element. You will need to use $el to target the element. For more details about the Element CSS, please see https://theme.co/apex/forum/t/features-element-css/20500

Additionally, watching this screencast about using Element CSS to target individual Accordion Items might add additional knowledge to you.

Hope that helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.