Cookie Banner Buttons anpassen

Geändert am Di, 13 Dez, 2022 um 11:17 VORMITTAGS

In diesem Artikel geht es darum, wie man in den verschiedenen Cookie Bannern das Styling der Buttons ändert.


Die auf den Bildern grau markierten Buttons sind die, deren Style über die CSS Regeln angepasst werden kann. 




Voraussetzung


In den EU Cookie Plugin Einstellungen muss "Nudging im Cookie Banner" aktiv sein.






Banner Zentrum



[class*="centerCat_buttons_nudging"] > button:first-of-type {
 background-color: red !important;
 border-color: yellow !important;
}
CSS





Banner Mini (unten/oben)



[class^="thin_buttonContainer_no_nudging"] > button:first-child {
 background-color: red !important;
 border-color: yellow !important;
}
CSS






Consent Manager



[class^="footer"] > [class^="buttonContainer"] > button:not(:first-child) {
 background-color: red !important;
 border-color: green !important;
}
CSS






Tags: