• Resolved regnaron

    (@regnaron)


    Thank you frst of all for you great work on the complianz plugin!

    However, I seem to have run into a problem with the new version 6.x on my site https://immoprentice.de where I hope you can help me with.

    With the new complianz version (I currently run 6.0.5), I can no longer style the background color of the buttons in the cookie banner with the nisarg theme.

    As you can see from this version 5.5.3 screenshot, the accept button and the deny button had different colors in my setup.

    With complianz 6.0.5, all buttons in the cookie popup have the same background color and the color cannot be changed.

    Note: The color of the border of the button can be changed, but not the color of the button itself ??

    Thanks for your help in advance!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Aert Hulsebos

    (@aahulsebos)

    Hi @regnaron,

    Somehow linear gradients trump even the most specific CSS; to override the buttons you would need the following;

    /* Accept Button */
    .cmplz-cookiebanner .cmplz-btn.cmplz-accept {
        background: #dadada!important;
    }
    /* Deny Button */
    .cmplz-cookiebanner .cmplz-btn.cmplz-deny {
        background: #dadada!important;
    }
    /* Save Preferences Button */
    .cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences {
        background: #dadada!important;
    }
    Thread Starter regnaron

    (@regnaron)

    Hi @aahulsebos,

    thanks a lot, that indeed did the trick!

    Thanks for the quick help!

    Best regards
    Oliver

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Complianz 6.x: Cannot style buttons with nisarg theme’ is closed to new replies.