Home › Forums › Basel support forum › Change COOKIES bar color
Change COOKIES bar color
- This topic has 7 replies, 2 voices, and was last updated 4 years, 2 months ago by Elise Noromit.
-
AuthorPosts
-
September 21, 2020 at 11:16 am #227772
sandrofinoribeiroParticipantHi,
How can I change the color of the cookies bar while maintaining transparency? And for the text? And how to change the color of the ACCEPT button?
Thanks
SRSeptember 21, 2020 at 2:53 pm #227859
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Global:
body .title-wrapper.basel-title-style-simple .title:after { background-color: yellow; } body .basel-cookies-inner .cookies-info-text h5{ color:green; } body .cookies-buttons .cookies-accept-btn { border: 2px solid #fff; color: #fff; }
Please change the values as per your needs.
Best Regards
September 21, 2020 at 3:48 pm #227879
sandrofinoribeiroParticipantThanks,
The text and button css code is OK, thebody .title-wrapper.basel-title-style-simple .title:after {
background-color: yellow;
}Its not working, image attached; the cookies bar continues black.
Attachments:
You must be logged in to view attached files.September 22, 2020 at 10:27 am #228034
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Global:
.basel-cookies-popup { background-color:green; }
Best Regards
September 22, 2020 at 10:18 pm #228219
sandrofinoribeiroParticipantThanks, it’s working.
How can i change the color of the border of the ACCEPT button on mouseover.
Now it’s in the same color of the bar…
😉Attachments:
You must be logged in to view attached files.September 23, 2020 at 7:20 am #228302
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Global:
body .cookies-buttons .cookies-accept-btn:hover { border: 2px solid white; color: white; }
Best Regards
October 1, 2020 at 1:26 pm #230216
sandrofinoribeiroParticipantHi Elise,
How can i change the height of the cookies bar?
And the size of the ACCEPT button?Thanks,
SROctober 1, 2020 at 7:40 pm #230287
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Global:
.basel-cookies-popup { padding: 15px 30px; }
You need to change the padding and content size to change the height of the block.
Add these lines:
font-size: 12px; line-height: 16px; padding-top: 7px; padding-bottom: 7px;
into this code CSS:
body .cookies-buttons .cookies-accept-btn:hover { border: 2px solid white; color: white; }
And change as per your needs.
Best Regards
-
AuthorPosts
Tagged: cookies
- You must be logged in to create new topics. Login / Register