Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1422659

    Dear support,
    how can i change the style of the buttons in the cookie consent modal window? I would like to have different colors for each button. Is this possible?

    Thanks for any help!

    #1422767

    Hey dondela,

    I think that should be possible. Which button/buttons are you looking to target?

    Best regards,
    Rikard

    #1422768

    Hi Rikard,
    thanks for helping, i marked the first two buttons in the screenshot.

    #1422796

    Hi,

    Thank you for the screenshot.

    The following css code should adjust the styles of the privacy buttons.

    #top .main_color .avia-cookie-consent-modal-buttons-wrap a:nth-child(1) {
        background: #cc1818;
        color: #ffffff;
        border-color: #eb5c23;
    }
    
    #top .main_color .avia-cookie-consent-modal-buttons-wrap a:nth-child(2) {
        background: #696969;
        color: #ffffff;
        border-color: #616161;
    }
    
    #top .main_color .avia-cookie-consent-modal-buttons-wrap a:nth-child(3) {
        background: #0dfb9a;
        color: #075013;
        border-color: #93ff27;
    }

    Adjust the color values as you wish, then toggle or temporarily disable the Enfold > Performance > File Compression settings.

    Best regards,
    Ismael

    #1422810

    Thanks Ismael!

    Best regards

    #1422852

    Hi,

    No problem! Please feel free to open another thread should you have further questions about the theme.

    Have a nice day.

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘cookie consent modal window individual button style’ is closed to new replies.