I’m looking to make the dynamic buttons on the cart drawer stay the same color while the cart drawer is refreshing for a split second for mobile and desktop
password samurai
A user wants to prevent dynamic checkout buttons in their cart drawer from changing color during the brief refresh period on both mobile and desktop.
Proposed Solution:
A Shopify expert suggested adding CSS code to the base.css file that:
#000)border-radius: 999px)!important flags to override default stylingStatus: The solution has been provided but not yet confirmed as working. The user needs to test whether the CSS fix resolves the color-changing issue during cart drawer refreshes.
I’m looking to make the dynamic buttons on the cart drawer stay the same color while the cart drawer is refreshing for a split second for mobile and desktop
password samurai
Hi @undercoverfresh ,
I am from Mageplaza - Shopify solution expert.
Add the following code to the base.css file to allow the buttons to have the same color.
#dynamic-checkout-cart .button-content {
background: #000 !important;
border-radius: 999px !important;
position: absolute !important;
}
Please let me know if it works as expected!
Best regards