Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Changing Add To Cart Button on product Page

Changing Add To Cart Button on product Page

AsimTalim
New Member
4 0 0

Hi there 

 

I'm using Craft 12.0.0 theme and i added the following code to base.css

}

.product-form__buttons .product-form__submit{

background: #0F512B !important;
color: #FFFFFF !Important;
}
#cart-notification-button {
background: #FFFFFF !important;
color: #0F512B !Important;
}

 

Essentially wanting to change my add to cart button colour and the button colour for my dropdown when a product has been added to cart. 
This has been updated successfully and as intended. 
however, the changes are only reflected when i access my store using desktop, the changes are not reflected when using mobile.

 

any ideas how i can update my code so that the colour changes are reflected when using both desktop and mobile?

 

many thanks for your time 🙂 

 

Asim

Replies 2 (2)

Moeed
Shopify Partner
7764 2082 2568

Hey @AsimTalim 

 

Could you please provide your Store URL and, if applicable, the Password too? Your cooperation is greatly appreciated!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


AsimTalim
New Member
4 0 0

Hey Moeed, 

 

thanks for getting back to me.

www.thedreamoffical.com

 

anything else please let me know 

 

Asim 🙂