Hi @lasims,
I’ve looked at other threads and tried various snippets and can’t get to remove the Return to Shop button from the empty cart page. Please can you advise how to do this?
From what I understand, you’re having trouble removing the “Return to Shop” button from the empty cart page on your WooCommerce site. You’ve tried different code snippets from various threads but haven’t been successful yet. I’m here to help.
To hide the “Return to Shop” button, you can add the following CSS code to your theme’s style.css file or in the Customizer’s Additional CSS:
.woocommerce-cart .return-to-shop {
display: none !important;
};Image Link: https://s5.gifyu.com/images/S8JcZ.gif
Here’s how you can add this CSS to your website:
- Open your WordPress dashboard.
- Navigate to Appearance -> Customize -> Additional CSS.
- Copy and paste the CSS provided into the Additional CSS box.
- Hit the “Publish” button to save your changes.
This code should effectively hide the “Return to Shop” button from your empty cart page.
Give this a shot and let me know if it solves the issue. If you’re still having trouble, don’t hesitate to reach out. I’m here to help!
Hi @lasims,
this has worked.
I’m thrilled to know that the solution we provided has worked for you! Helping our users solve their issues is always a pleasure.
I’ll go ahead and mark this thread as resolved. However, if you ever have more questions or issues in the future, don’t hesitate to kick off a new topic.
We’d be thrilled if you could spare a few minutes to leave us a review at 👉 .
Cheers!
