Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1223880

    Hello!

    Could you please provide a custom CSS to change the size, font, and color of the cookie consent bar? I found the following CSS code but it only worked on the extra buttons, not the first one. Thank you in advance!

    .avia-cookie-consent-button-2.av-extra-cookie-btn{
    color:#000!important;
    font-size:10px!important;
    }

    #1223977

    Hey DashaChichasova,

    Could you post a link to where we can see the element in question please? Also please point out exactly what you would like to change.

    Best regards,
    Rikard

    #1224088

    Hello Rikard,

    I was able to fix the font and button color myself, but still have a hard time figuring out how to make the buttons smaller. The link to the website in private. Thanks!

    #1224235

    Hi,

    Thanks for the update. This CSS is applying to your buttons:

    .avia-cookie-consent-button, .avia-popup .avia-cookie-consent-button {
        color: #000!important;
        font-size: 10pt;
        padding: 15pt!important;
    }
    
    .avia-button {
        font-size: 24px!important;
    }

    I can’t see where it’s coming from since you have file compression active. If you turn that off then we can tell you where the CSS is added. If you know where it’s added then please try to remove the !important bit so that we can give you specific CSS for the buttons in the cookie consent box.

    Best regards,
    Rikard

    #1224619

    Rikard,

    I’ve removed the !important part from the code.

    #1224839

    Hi,

    Thanks for the update. The buttons look a lot smaller now on my end, do you still need help with adjusting something?

    Best regards,
    Rikard

    #1224902

    Rikard,

    Yes, since I removed the code ALL of my buttons on all pages are smaller. I just needed to make the cookie connect buttons smaller.

    #1225030

    Hi,

    Add this to quick css:

    .avia-cookie-consent .avia-cookie-consent-button {
    font-size:8px!important;
    }

    Best regards,
    Jordan Shannon

    #1225673

    Jordan,

    The button size fixed itself somehow, but now the color is off. Second button has pink text and the third has white text. How do I fix that? Thank you

    #1225677

    Hi,

    What are the proper colors?

    Best regards,
    Jordan Shannon

    #1225678

    Just black font will work. Thanks.

    #1225688

    Hi,

    Add this to quick css:

    .avia-cookie-consent a.avia-button:nth-child(3){
        color:#000!important;
    }

    Best regards,
    Jordan Shannon

    #1225981

    That worked! I’m all set. Thank you so much!

    #1225997

    Hi,

    No problem at all. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Cookie Consent Bar – Change size, font, color’ is closed to new replies.