Hi all, I'm trying to alter the default background (yellow) of the cookie notice.
.message.global.noscript,
.message.global.cookie {
margin: 0 0 10px;
padding: 10px 20px;
display: block;
line-height: 1.2em;
font-size: 1.3rem;
background: #ffee9c;
border-color: #d6ca8e;
color: #333333;
margin: 0;
}
Is the css part, but I can't find the file where it's defined. I've even tried to search the entire magento folder with Grepwin.
Thanks!
Solved! Go to Solution.
Hello @Bierkelder
vendor/magento/theme-frontend-luma/Magento_Theme/web/css/source/_module.less file used for same
Hello @Bierkelder
https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/css-topics/css-preprocess.html
check above link will help ful for you.
Hi,
Thanks for you guidance, but it's not exactly what I meant. Or maybe it is, but I can't distillate my answer from your guidance. So there isn't a file where this is exactly declared like this?
Regards, Wouter
Hello @Bierkelder
vendor/magento/theme-frontend-luma/Magento_Theme/web/css/source/_module.less file used for same
Hi Sunil,
Let me check!
Regards, Wouter
Worked like a charm!