Home › Forums › WoodMart support forum › Cookie law info smaller size?
Cookie law info smaller size?
- This topic has 7 replies, 2 voices, and was last updated 5 years, 9 months ago by Elise Noromit.
-
AuthorPosts
-
February 8, 2019 at 9:10 pm #106649
persia1717ParticipantHello,
Can I by any chance make this notice smaller in size? I mean the entire rectangular with the info not to take so much space – everything to be smaller – the rectangular, the button, the size of the text…February 9, 2019 at 1:19 pm #106707
Elise NoromitMemberHello,
Add this code to the Theme Settings > Custom CSS > Global
body .woodmart-cookies-popup { padding: 7px 30px; } body .cookies-buttons .cookies-more-btn { font-size: 10px; } body .woodmart-cookies-inner .cookies-buttons .btn-size-small{ font-size: 8px; padding: 5px 14px; line-height:10px; }
Best Regards
February 9, 2019 at 6:28 pm #106741
persia1717ParticipantThank you!
Two more questions – how can I make this bug on the screenshot to dissapear? (There should be set margin between the button and the text). Currently I have used code this code in Global CSS to change the place of the button:
.woodmart-cookies-inner {
-webkit-box-orient: horizontal;
-webkit-box-direction: reverse;
-ms-flex-direction: row-reverse;
flex-direction: row-reverse;And my second questions – Can I change the colour of the background of the cookie notice and the colour of the text. I would like to make it black, a bit transparent and the text to be in white – like in the second attached photo.
Attachments:
You must be logged in to view attached files.February 9, 2019 at 8:49 pm #106757
Elise NoromitMemberHello,
Please provide your site URL I will send the corrected code for colors and add the margin. If your site is under maintenance, provide your site admin access to the private area.
Best Regards
February 9, 2019 at 8:55 pm #106759
persia1717ParticipantHello,
I have provided my website below. Thanks in advance!February 10, 2019 at 6:57 am #106793
Elise NoromitMemberHello,
As I see the problem has been solved http://prntscr.com/mj1jjc Just add the code I provide:
body .woodmart-cookies-popup { padding: 7px 30px; background:red; } body .cookies-buttons .cookies-more-btn { font-size: 10px; color:yellow; } body .woodmart-cookies-inner .cookies-info-text{ font-size: 10px; color:yellow; } body .woodmart-cookies-inner .cookies-buttons .btn-size-small{ font-size: 8px; padding: 5px 14px; line-height:10px; color:yellow; }
Set the color as per your needs and add the code to the Theme settings > Custom CSS > Global
Best Regards
February 10, 2019 at 3:22 pm #106825
persia1717ParticipantHello,
Thanks for the code. Last question – how can I change the cookies button text from “ACCEPT” to “ACCEPT AND CLOSE” ?
February 10, 2019 at 4:36 pm #106839
Elise NoromitMemberHello,
You can rewrite all theme and plugin texts via PO file in WordPress. Here is a video tutorial that should help you translate your website texts with a Loco Translate plugin https://www.youtube.com/watch?v=D3NsDdMzsls&list=PLMw6W4rAaOgKKv0oexGHzpWBg1imvrval&index=3
We suggest you to keep translated files in wp-content/languages/themes/woodmart-pt_PT.po folder.
Best Regards
-
AuthorPosts
Tagged: cookies
- You must be logged in to create new topics. Login / Register