Hi there;
I want to create Accordion with Alternate tab colors but when I add the CSS to quick CSS, nothing change.
You can see here: https://ezvisa.vn/visa-quoc-te/visa-booking-chu/#toggle-id-1-closed
The CSS I add is exactly what in your instruction:
/*—————————————-
// CSS – Alternate tab color
//————————————–*/
/* Even tab color */
.av-accordion-bg-alternate .av_toggle_section:nth-child(even) .toggler {
background: #3369e7;
}
/*Odd tab color */
.av-accordion-bg-alternate .av_toggle_section:nth-child(odd) .toggler {
background: #00aeff;
}
/* Remove default tab style */
.av-accordion-bg-alternate .toggler,
.av-accordion-bg-alternate .toggler.activeTitle:hover {
border:none;
color:#eee;
}
Hope to receive feedback early. Thanks
Hey ezvisa,
Try using this css code instead:
.togglecontainer .av_toggle_section:nth-child(even) .toggler {
background: #3369e7;
}
.togglecontainer .av_toggle_section:nth-child(odd) .toggler {
background: #00aeff;
}
.togglecontainer .toggler, .togglecontainer .toggler.activeTitle:hover {
border: none;
color: #eee;
}
Best regards,
Nikko
Thanks Niko.
I solve all my problems. You can close this topic.
Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon