This topic is: not resolved
- This topic has 0 replies, 1 voice, and was last updated 5 days, 19 hours ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Community Forums › Forums › Genesis Blocks › How to variate Genesis blocks Accordion background colours
Tagged: CSS genesis accordion block
I have started to use the Genesis blocks Accordion and it works really wel. I was even able to change the background colours of the titles with the following code.
.gb-block-accordion .gb-accordion-title {
background: #e9eafa;
padding: 10px 15px;
}
But this code, if put in the the Extra CSS of the WordPress customizer, changes the colour of all accordion blocks used on the site. But I wonder if it is possible to change it depending on the page you rare on or even that of a certain specific accordion block. I tried to put the CSS into the EXTRA CSS-CLASS(ES), but to no avail
So I was wondering if anyone knew how to do this.
© 2023 WPEngine, Inc.