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, Keyword Highlighter
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

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation 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.

Buy me a coffee

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.