v11.0.1 Angular How do i change the background color of the Cooke Consent?
Now it's transparent so not clearly visible
Thanks in advance
3 Answer(s)
-
0
Hi @rvanwoezik
AspNetZero uses cookieconsent npm package https://www.npmjs.com/package/cookieconsent. Here is their offical documentation https://www.osano.com/cookieconsent/documentation. You can follow the documentation and change it as you wish. Here is where aspnetzero initializes it https://github.com/aspnetzero/aspnet-zero-core/blob/dev/angular/src/shared/common/session/cookie-consent.service.ts
-
0
I found all themes, except theme 13, are missing css classes for the cookieconsent:
.cc-window { background-color: #282a3a; } .cc-btn { background-color: #5867dd; border-color: #5867dd; color: #ffffff; } .cc-message { color: #fefefe; }
Hope this helps! Kind regards -
0
Thanks @rvanwoezik
I created an issue about it : https://github.com/aspnetzero/aspnet-zero-core/issues/4208