How to change the Cookiebanner color

Solved

How to change the Cookiebanner color

VinUp
Excursionist
50 0 13

Hi for my website https://www.vinup.nl/en I would like to change the 'Decline' button for the Cookiebanner to a white button with the orange text and outline of the button ( HEX #C87632 )

 

VinUp_0-1739215559700.png

 

Can anyone help me with this?

 

Accepted Solution (1)

AnneLuo
Shopify Partner
1369 237 279

This is an accepted solution.

You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code before the </head> tag

<style>
.shopify-pc__banner__dialog button.shopify-pc__banner__btn-decline{
    color: #C87632 !important;
    background: #fff !important;
    border: #C87632 1px solid !important;
}
</style>

Result:

AnneLuo_0-1739241019624.png

 


Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

View solution in original post

Replies 3 (3)

AnneLuo
Shopify Partner
1369 237 279

This is an accepted solution.

You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code before the </head> tag

<style>
.shopify-pc__banner__dialog button.shopify-pc__banner__btn-decline{
    color: #C87632 !important;
    background: #fff !important;
    border: #C87632 1px solid !important;
}
</style>

Result:

AnneLuo_0-1739241019624.png

 


Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

VinUp
Excursionist
50 0 13

Thank you so much!

LizHoang
Shopify Partner
1251 159 195

Hi @VinUp, thanks for reaching out. 

 

I checked and it looks like cookies might be disabled on your store. Could you check and confirm if the cookie banner is currently active?

 

I look forward to hearing from you. 

 

Liz

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Check our Joy Rewards & Loyalty Program