How to keep dynamic button still while refreshing

How to keep dynamic button still while refreshing

undercoverfresh
Excursionist
138 0 19

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 

 

url knmb1c-pf.myshopify.com

password samurai 

 

IMG_9080.jpeg

Reply 1 (1)

mageplaza-cs
Shopify Partner
389 29 65

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

Mageplaza | Top-Rated Shopify Agency | Trusted by 230,000+ worldwide merchants


If our suggestion works for you, please give it a Like or mark it as a Solution!


Should you have any questions or concerns, feel free to contact us via consultant@mageplaza.com