Sense Theme Mobile Cart Notification transparent

Heinrich123
Tourist
10 0 5

Hi guys,

I want to change the background color of the cart notification on mobile to white, how do I do this? As you see in the picture it is currently transparent which looks weird. We already fixed it on desktop with this.

link  to my page.

Thank you in advance and best regards,

Bildschirmfoto 2023-10-29 um 11.01.21.png

Replies 5 (5)

ignelis_
Shopify Partner
22 2 4

Hi, @Heinrich123 

 

Please share the password to your store url, because it's password protected. Thanks!

Ignas | Website Developer
- Did my reply help you? Press Like to let me know!
- Did I answer your question? Mark it as an Accepted Solution
- Hire me! WhatsApp: +37062284670
Heinrich123
Tourist
10 0 5

password: 1 🙂

ignelis_
Shopify Partner
22 2 4

Thanks for your reply. Please add this piece of code at the bottom of your css file. It should be something like this:

Edit code > base.css

 

.cart-notification.active {
background-color: white !important;
}

 

Change the background color according to your needs. You can use either hex color code or just text based color name.

 

Let me know if that works for you.

Ignas | Website Developer
- Did my reply help you? Press Like to let me know!
- Did I answer your question? Mark it as an Accepted Solution
- Hire me! WhatsApp: +37062284670
Heinrich123
Tourist
10 0 5

I added it to the base.css file, unfortunately it didn't work. Is there a mistake I could've made?

ignelis_
Shopify Partner
22 2 4

You can try adding it to custom css section in the theme customization.

Ignas | Website Developer
- Did my reply help you? Press Like to let me know!
- Did I answer your question? Mark it as an Accepted Solution
- Hire me! WhatsApp: +37062284670