Does anyone know how to get rid of the ugly “Continue Shopping” button from the empty cart?
The 'Your cart is empty" and the suggested collection is fine.
I’m using the latest version, Dawn.
the site is www.record28.com
A user seeks to remove the “Continue Shopping” button from their empty cart page while keeping the “Your cart is empty” message and suggested collection visible. They are using the Dawn theme (latest version).
Solutions provided:
a.button { display: none; } to the base.css file.cart-drawer__empty-content a.button { display: none; } to the bottom of base.css for more targeted stylingImplementation steps:
Both solutions hide the button using CSS display properties. The second option uses a more specific selector to target only the cart drawer’s empty state button.
Does anyone know how to get rid of the ugly “Continue Shopping” button from the empty cart?
The 'Your cart is empty" and the suggested collection is fine.
I’m using the latest version, Dawn.
the site is www.record28.com
Hi @record28-2 Please add the code in base.css file.
a.button {
display: none;
}
If you are not sure where is your base.css file please follow the steps:
Result:
If you will unable to implement the same then I’m happy to do this for you, let me know. I can implement the changes so that this will work well for you.
Hopefully it will help you. If yes then Please hit Like and Mark it as solution!
Best Regards
Sahil
Hello There,
.cart-drawer__empty-content a.button {
display: none;
}