Modestas Posted July 26, 2022 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
Solution Beyondspace Posted July 27, 2022 Solution 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 (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
Modestas Posted July 27, 2022 Author 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."?
tuanphan Posted July 28, 2022 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 Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment