New Shopify Certification now available: Liquid Storefronts for Theme Developers

how do i remove the continue shopping button from empty cart?

record28-2
Tourist
6 0 2

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.

Screen Shot 2023-11-16 at 22.46.20.png

the site is www.record28.com

 

Replies 2 (2)
sahilsharma9515
Shopify Partner
513 56 80

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:

  1. Login in shopify admin.
  2. Click on the Online Store.
  3. Then click on the button next to Customize in dawn Theme.
  4. Click Edit Code.
  5. Search Base.css in the code in left hand side.
  6. Add the code given above.

Result:

sahilsharma9515_0-1700198366316.png

 

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

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️


ZestardTech
Shopify Expert
5300 950 1262

Hello There,

 

1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the Bottom of the file:

 

.cart-drawer__empty-content a.button {
display: none;
}
Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing