Jump to content

How to change cookie banner color

Recommended Posts

Hi all, 

I want to change the cookie banner colors. So far, I managed to change the background and the font color, but I don't know how to change the CTA button color. Any ideas? This is the CSS code I'm using: 

.sqs-cookie-banner-v2.LIGHT {
    background-color: #c2a366;
   .sqs-cookie-banner-v2-text p {
     color: #efe5dc;
   }
  }

Link to comment
  • Replies 6
  • Views 1.3k
  • Created
  • Last Reply
  • 3 months later...
On 5/12/2021 at 9:17 PM, khs123 said:

@tuanphan How would I change the font for the decline button in the cookie banner?  I've tried button.sqs-cookie-banner-v2-decline and button.sqs-cookie-banner-v2-reject, but neither worked.

Thanks

 

Hi. Can you share site url? We can check decline code easier

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.