Shopify themes, liquid, logos, and UX
URL: https://60338a.myshopify.com/
Hi
I'm facing an issue because color of the button that appears when I'm adding something to the cart is white ( same as the color of the font), how to change the color only for the specific button.
I'm sending an image of which button i mean.
Solved! Go to the solution
This is an accepted solution.
Hi @UL1,
Please follow the instruction below to change the color of your button.
To change the background color of your button:
NOTE: Change "red" to the color you want
.cart-notification__links button.button.button--primary.button--full-width {
background: red;
}
To change the text color of your button:
NOTE: Change "red" to the color you want
.cart-notification__links button.button.button--primary.button--full-width {
color: red;
}
This is an accepted solution.
I've already provide the solution.
And this is for the bubble cart.
.cart-count-bubble {
color: black !important;
}
And Save.
Result:
If all the code still not all working, I advice that hire a developer to clean your base.css file.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
Hi @UL1,
Please follow the instruction below to change the color of your button.
To change the background color of your button:
NOTE: Change "red" to the color you want
.cart-notification__links button.button.button--primary.button--full-width {
background: red;
}
To change the text color of your button:
NOTE: Change "red" to the color you want
.cart-notification__links button.button.button--primary.button--full-width {
color: red;
}
It doesn't work
Oh, Can you try this one again?
Same Instruction.
#cart-notification-form > button {
color: red !important;
}
And Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Maybe i'll send u another screen of what i mean.
I know what you mean.
Your cart bubble also blank. I wont give a code if I dont know where is it and what is it. We cant edit it without knowing what we are editing. 😅
ok so what is the solution ?
This is an accepted solution.
I've already provide the solution.
And this is for the bubble cart.
.cart-count-bubble {
color: black !important;
}
And Save.
Result:
If all the code still not all working, I advice that hire a developer to clean your base.css file.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
I have checked on my shopify mobile app and it works but it doesn't work on the desktop view.
Hi @UL1 ,
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.liquid
Step 3: Paste the below code at the bottom of the file -> Save
<style>
#cart-notification-form button{
color:black
}
</style>
Hope my solution works perfectly for you!
Best regards,
Oliver | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
It doesn't work
Can you share screenshots of the position-added code?
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
Hi,
I think you show push code outside {% if template == 'index' %}{% endif %}
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024