Need Help Changing Cookie Button Color To Custom Color

This topic has 3 replies, 2 voices, and was last updated 5 months, 1 weeks ago ago by khurram virk

  • Avatar: khurram virk
    khurram virk
    Participant
    July 9, 2025 at 13:26

    Dear Sir,

    Good day to you!

    I would like to change the color of the cookie consent button (currently red) on my website, but I could not find any setting in the Theme Options or Customizer to adjust this styling.

    Screenshot: https://snipboard.io/tamNxC.jpg

    Could you please assist me with instructions or custom CSS to change the button color?

    Thank You.

    2 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 9, 2025 at 14:57

    Hello,

    Thank you for reaching out to us.

    The next custom CSS code can be used:

    .et-cookies-popup-wrapper .cookies-button:only-child {
        background-color: black;
    }
    .et-cookies-popup-wrapper .cookies-button:only-child:hover {
        background-color: green;
    }

    Warm Regards,
    The 8Theme Team

    Avatar: khurram virk
    khurram virk
    Participant
    July 9, 2025 at 15:36

    Thanks for the support! My topic “Need Help Changing Cookie Button Color To Custom Color” has been successfully resolved.

  • Viewing 3 results - 1 through 3 (of 3 total)

The issue related to '‘Need Help Changing Cookie Button Color To Custom Color’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.