Jump to content

Shop product page on mobile device - Quantity field does not scale + text description wraps back onto itself vs next line

Go to solution Solved by paul2009,

Recommended Posts

Site URL: https://www.worksbyshaun.com/shop/p/just-be-and-bloom-collection

On the default store product page, on mobile devices I have run into two issues....

  1. the Quantity drop-down selection box is not scaling, so it causes the website to not be centered by adding a horizontal scroll bar
  2. the Product Description is not wrapping to the next line, it wraps over the same line.

Wondering why SS has not fixed this, hoping someone can help...

Many thanks.

814055736_ScreenShot2022-02-13at12_12_57PM.jpg.0947cd93c6b5b386bf15bfbba47d03fb.jpg

Link to comment
  • Solution
7 hours ago, Shaun_mav said:
  1. the Quantity drop-down selection box is not scaling
  2. the Product Description is not wrapping to the next line

Wondering why SS has not fixed this

The Quantity box issue is because of Custom CSS you have added. It looks like you may have set the input width in newsletter blocks to 375px. Unfortunately this will affect all inputs and should be removed or modified.

The Product Description uses the H1 setting where the line height is currently set to 0em, causing it to wrap on the same line. If you change this in site styles, it should correct it. Alternatively, this CSS should do the same thing:

.collection-type-products .ProductItem-details h1.ProductItem-details-title {
  line-height: 1.3em;
}

Did this help? Please give feedback by clicking an icon below  ⬇️

About me: I'm Paul. A SQSP User for 18 yrs, I've been a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing 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 free. You can thank me by clicking one of the feedback emojis below. Coffee fuels my work.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

Link to comment

Hello Paul,

I cannot thank you enough again for your help, so grateful!

Everything is now working as it should be, wonderful stuff! I've learned much. Your previous code help allowed me to modify the newsletter CSS so it only affected the desktop version, 375px, leaving mobile untouched - "@media screen and (min-width: 768px)"

Warm wishes, Shaun

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.