Hello,
we are building a website and ran into a problem.
We are using a build in accordion and want to change the icon “+” for opening item to our own image.
Please check the link on Google Chrome and then Mozzila.
With Chrome everything works like it should. When the item is not clicked it shows a plus image, when opened it shows minus image. But when checking the page in Mozzila there is always only a plus image visible.
Best regards
Luka
Summary
Website link - https://metronik.netx.si/farmacija/
CSS that we are using:
[data-x-icon]:before, [class*=“x-icon-”]:before {
content: url(’/wp-content/uploads/2018/07/metronik-podrocja-dela-razsiri-meni-crna_2-8.png’);
}
.x-acc-header .x-acc-header-indicator{
content: url(’/wp-content/uploads/2018/07/metronik-podrocja-dela-razsiri-meni-crna_2-8.png’);
transform: translate3d(0,0,0) rotate(0)!important;
width: auto!important;
height: 1em!important;
font-size: 0.8em!important;
}
.x-acc-header.x-active .x-acc-header-indicator{
content: url(’/wp-content/uploads/2018/07/metronik-podrocja-dela-zapri-meni-crna_2-8.png’);
transform: translate3d(0,0,0) rotate(0)!important;
width: auto!important;
height: 1em!important;
font-size: 0.8em!important;
}