View Cart button not displaying correctly

View Cart button not displaying correctly

saraelizpor
New Member
15 0 0

Annotation 2024-01-23 145435.jpg

How do I change the color of the text for the View Cart button that pops up after hitting add to cart? I would like it to be in black. It displays on the iPhone correctly but not on either of my laptops. I have seen some answers on Shopify but none of them have worked. Thanks!

Replies 6 (6)

HM_Helal
Shopify Partner
39 8 7

Hello There,

Please share your store URL and password.
So that I will check and let you know the exact solution here.

saraelizpor
New Member
15 0 0

It is already live but this is the address unless you needed the test site?

 

https://www.patriotmedserv.com/

HM_Helal
Shopify Partner
39 8 7

Hey @saraelizpor ,

 

Please add this code to your theme.liquid above the </head> to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the </head>

 

<styel> 
a#cart-notification-button {
    color: black !important;
}
</style>

 

Hope this can help you solve the issue

Best regards,
Helal

saraelizpor
New Member
15 0 0

Annotation 2024-01-23 165838.jpg

Now the code is at the top of the page above the logo?

HM_Helal
Shopify Partner
39 8 7

Sorry, I have updated the code. feel free to check it. thanks.

saraelizpor
New Member
15 0 0

That worked! Thank you so much!!!!!