Jump to content

Force mobile header to display "cart" beside quantity item

Recommended Posts

On 9/13/2022 at 1:53 AM, elizabethgaffney said:

Hello,

My client asked me to change the shopping cart icon to text "cart" in the header earlier but we have since noticed that the mobile version does not display "Cart" - it just shows the cart item quantity, which doesn't look very nice... Does anybody have a workaround for this? Many thanks.

Can you share your site with the protected password so I can take a look?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace (+100 Spark plugin customisations)
🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
On 9/16/2022 at 6:43 PM, elizabethgaffney said:

Hello Bangank!

Thanks for you message. The site is live and may be viewed here.

Best wishes,

Elizabeth

Add this to Design > Custom CSS

.showOnMobile .mobile-cart-parenthesis:first-child:before {
    content: "Cart";
}

 

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
On 9/12/2022 at 7:53 PM, elizabethgaffney said:

My client asked me to change the shopping cart icon to text "cart" in the header earlier but we have since noticed that the mobile version does not display "Cart" - it just shows the cart item quantity, which doesn't look very nice...

I agree. It doesn't look very nice but this is how the team designed it, to prevent the cart text from overlapping other header elements like the site title/logo.

Edited by paul2009

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

Link to comment

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.