Color background button | WordPress.org

Hi @camille35974,

Sure, you can do this by adding some CSS under Appearance > Customize > Additional CSS on your website (or use a Custom CSS field in your theme).

The below CSS example sets the button to a black background color, and the text will be set to white.

#cmplz-manage-consent button.cmplz-btn.cmplz-manage-consent {
    background-color: #333333; /* background color */
    color: #ffffff; /* text color */
}

Kind regards, Jarno

Thanks a lot, it works perfectly ! 😉

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer