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?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, 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

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
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

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

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.