I would like to make the cookies / privacy banner smaller in both size and font. Currently the default state on mobile is that it uses 3/4 of the screen. I would also want to make is smaller on the desktop screen.
Where to change this setting and what would be a recommended code?
/* Adjust the font size of the banner */
.cookie-banner {
font-size: 14px; /* Adjust the value as needed */
}
/* Adjust the size of the banner on mobile */
@media (max-width: 767px) {
.cookie-banner {
width: 80%; /* Adjust the value as needed */
}
}
/* Adjust the size of the banner on desktop */
@media (min-width: 768px) {
.cookie-banner {
width: 60%; /* Adjust the value as needed */
}
}
I think the style for the default banner is different. I tried that but did not work. I am not sure where the shopify default css classes /IDs could be edited if at all.