Dear support,
how can i change the style of the buttons in the cookie consent modal window? I would like to have different colors for each button. Is this possible?
Thanks for any help!
Hey dondela,
I think that should be possible. Which button/buttons are you looking to target?
Best regards,
Rikard
Hi Rikard,
thanks for helping, i marked the first two buttons in the screenshot.
Hi,
Thank you for the screenshot.
The following css code should adjust the styles of the privacy buttons.
#top .main_color .avia-cookie-consent-modal-buttons-wrap a:nth-child(1) {
background: #cc1818;
color: #ffffff;
border-color: #eb5c23;
}
#top .main_color .avia-cookie-consent-modal-buttons-wrap a:nth-child(2) {
background: #696969;
color: #ffffff;
border-color: #616161;
}
#top .main_color .avia-cookie-consent-modal-buttons-wrap a:nth-child(3) {
background: #0dfb9a;
color: #075013;
border-color: #93ff27;
}
Adjust the color values as you wish, then toggle or temporarily disable the Enfold > Performance > File Compression settings.
Best regards,
Ismael
Thanks Ismael!
Best regards