Home › Forums › WoodMart support forum › Remove highlighting of active element of Woodmart Accordion › Reply To: Remove highlighting of active element of Woodmart Accordion
January 11, 2022 at 8:50 am
#344499
horny_fungus
Participant
Thank you for your help.
Unfortunately the code works not as expected:
.tabs-layout-accordion .wd-tab-wrapper>.wd-accordion-title.active {
color: var(--wd-title-color);
}
This one affects product accordion tabs on single product page, but unfortunately it does not affect Woodmart Accordion Element used on some other pages.
.website-wrapper .tabs-layout-accordion .woocommerce-Tabs-panel {
display: block !important;
}
.website-wrapper .tabs-layout-accordion .wd-scroll-content {
max-height: none;
}
.website-wrapper .tabs-layout-accordion .wd-accordion-title {
pointer-events: none;
}
This one also affects only single product page. And accordion no longer works – it stays open even if clicked.