• Resolved Nenesse

    (@nenesse)


    Hi,

    I have read your CSS Lesson #1 about Styling the “Allow Cookies” button but I would like to edit on-hover color of the button.

    according to w3schools.com, I try to use personnalized CSS, adding

    .cc-btn:hover
    {background-color: #4CAF50;}

    but even if the code seems to be recognized, it does not have any effect, the button is not green on-hover.
    I also try with

    .cc-allow:hover
    {background-color: #4CAF50;}

    but still no luck

    Am I doing something wrong?

    regards

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Aert Hulsebos

    (@aahulsebos)

    Hi @nenesse,

    Please use:

    {background-color: #4CAF50!important;}

    We will see how to specify the classes for the next update,

    regards Aert

    Thread Starter Nenesse

    (@nenesse)

    Thank you for your answer.

    I managed to do everything I need with the code

    .cc-allow:hover{
        background-color: black!important;
        border-color: black!important;
        color: white!important;   
    }

    regards

    Plugin Contributor Mathieu Paapst

    (@paapst)

    Hi @nenesse , Great to hear that your issue is resolved! Could you tell us what you think of the plugin or the support by casting your Review here? We’d love to hear your feedback!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Styling the “Allow Cookies” button’ is closed to new replies.