Jump to content

Edit the text of the "Continue Shopping" button in Cart

Go to solution Solved by Beyondspace,

Recommended Posts

Posted

Site URL: https://www.harrop.works/cart

Hi there, 

I am trying to replace the text "Continue Shopping" with "Explore More" on the empty state button of my Cart. 

I've found posts on how to change the styling but not the text itself. 

Any suggestions? 

Thanks.

image.jpeg

  • Solution
Posted
On 10/11/2022 at 6:20 PM, JWGH said:

Site URL: https://www.harrop.works/cart

Hi there, 

I am trying to replace the text "Continue Shopping" with "Explore More" on the empty state button of my Cart. 

I've found posts on how to change the styling but not the text itself. 

Any suggestions? 

Thanks.

image.jpeg

You can try using pseudo element

[aria-label="Continue Shopping"] {
  color: transparent !important;
  position: relative;
}

[aria-label="Continue Shopping"]:after {
  color: #fff;
  content: 'Explore More';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
}

Support me by pressing 👍 if this useful for you

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.