Jump to content

Media Query for Product Page - Thumbnail Width & Spacing, Title Font

Recommended Posts

Site URL: https://testing-changes.squarespace.com/shop/cashmere-wrap

Trying to optimize a site for mobile but the changes I make in Site Styles are pretty awful on the desktop version. I know I can fix this with some CSS and a media query for mobile but some of it is beyond my (very limited) coding capabilities. Can someone help me? Specifically I'd like to be able to set the Thumbnail Size and Spacing to be one thing on mobile and another thing for larger screens (40 px/2 px and 90px/11px respectively) and also change the Title Font size for mobile as well. The other tweaks I think I can swing by finding a middle ground that looks decent on all devices but I'd love to be able to fix these elements at least. Thanks so much!

Link to comment
1 hour ago, Defne said:

Site URL: https://testing-changes.squarespace.com/shop/cashmere-wrap

Trying to optimize a site for mobile but the changes I make in Site Styles are pretty awful on the desktop version. I know I can fix this with some CSS and a media query for mobile but some of it is beyond my (very limited) coding capabilities. Can someone help me? Specifically I'd like to be able to set the Thumbnail Size and Spacing to be one thing on mobile and another thing for larger screens (40 px/2 px and 90px/11px respectively) and also change the Title Font size for mobile as well. The other tweaks I think I can swing by finding a middle ground that looks decent on all devices but I'd love to be able to fix these elements at least. Thanks so much!

Kindly share your protected password to check the issue together

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

@Defne To change tittle size on mobile, add this to Design > Custom CSS

@media screen and (max-width:640px) {
h1.ProductItem-details-title {
    font-size: 19px !important;
}
}

 

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

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.