Home Forums WoodMart support forum Cookie law info smaller size?

Cookie law info smaller size?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #106649

    persia1717
    Participant

    Hello,
    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…

    #106707

    Hello,

    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

    #106741

    persia1717
    Participant

    Thank 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.
    #106757

    Hello,

    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

    #106759

    persia1717
    Participant

    Hello,
    I have provided my website below. Thanks in advance!

    #106793

    Hello,

    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

    #106825

    persia1717
    Participant

    Hello,

    Thanks for the code. Last question – how can I change the cookies button text from “ACCEPT” to “ACCEPT AND CLOSE” ?

    #106839

    Hello,

    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

Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)