Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1099645

    On my empty cart page I want to completely hide the “return to shop button” I tried the following below, but it is not working. can someone help? I’d prefer to make the change with CSS id possible, thanks!

    .woocommerce-cart #top .button {
    display: none!important;
    }

    #top.woocommerce-cart .button {
    display: none;
    }

    #1099650

    Hey whiteshanty,
    Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    .return-to-shop > a.button.wc-backward {
    display:none !important;
    }
    

    Then clear your browser cache and any cache plugin, and check.

    Best regards,
    Mike

    #1101853

    Thank you, no more questions related – please close

    #1101894

    Hi,

    If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Need CSS to hide "Return to Shop" link on empty cart page’ is closed to new replies.