JWGH Posted October 11, 2022 Share Posted October 11, 2022 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. Link to comment
Solution Beyondspace Posted October 12, 2022 Solution Share Posted October 12, 2022 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. 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 JWGH 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Beyondspace Posted October 12, 2022 Share Posted October 12, 2022 My testing JWGH 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
JWGH Posted October 12, 2022 Author Share Posted October 12, 2022 bangank36 - that is amazing! Thanks so much. It worked like magic. Link to comment
alexislee Posted January 16 Share Posted January 16 Where do I input the code you showed before? Thanks in advance! Link to comment
tuanphan Posted January 17 Share Posted January 17 On 1/16/2024 at 7:05 AM, alexislee said: Where do I input the code you showed before? Thanks in advance! Click Website Scroll down and choose Website Tools Choose Custom CSS Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment