Modestas Posted July 26, 2022 Share Posted July 26, 2022 (edited) Hello everybody! I am wondering if there is any possibility to change the text of the shopping cart(the title, the button text, etc.) to the language I want, or maybe I can edit it somehow? Any information will be appreciated! 🙂 Edited July 26, 2022 by Modestas Link to comment
Solution Beyondspace Posted July 27, 2022 Solution Share Posted July 27, 2022 (edited) On 7/27/2022 at 3:18 AM, Modestas said: Hello everybody! I am wondering if there is any possibility to change the text of the shopping cart(the title, the button text, etc.) to the language I want, or maybe I can edit it somehow? Any information will be appreciated! 🙂 I try using the pseudo element to replace the cart title #cart .empty-message { visibility: hidden; } #cart .empty-message:before { content:'The Custom empty cart message'; visibility: visible; } #cart .cart-title { visibility: hidden; } #cart .cart-title:before { content: 'Shopping cart change' ; visibility: visible; } Edited July 27, 2022 by bangank36 Modestas and tuanphan 1 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 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
Modestas Posted July 27, 2022 Author Share Posted July 27, 2022 5 hours ago, bangank36 said: I try using the pseudo element to replace the cart title #sqs-cart-container > div > div:after { content: 'Your word'; } .cart-title { display: none; } Thanks, this code does work, however, it writes the same text twice, do you have any idea how to fix this? Also, how can I change the button title and the text "You have nothing in your shopping cart."? Link to comment
tuanphan Posted July 28, 2022 Share Posted July 28, 2022 15 hours ago, Modestas said: Thanks, this code does work, however, it writes the same text twice, do you have any idea how to fix this? Also, how can I change the button title and the text "You have nothing in your shopping cart."? #1. Just tested on my site & the code is fine. What is your site url? We can check easier #2. #3. Try this CSS /* translate you have nothing in your cart */ p.empty-message { font-size: 0; } p.empty-message:before { content: "new content new content new content"; font-size: 16px; } /* button */ a.cart-continue-button { font-size: 0 !important; } a.cart-continue-button:before { content: "new button"; font-size: 18px !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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