Jump to content

Product Title Line Height on Mobile View

Recommended Posts

1 hour ago, Emma456 said:

Site URL: http://www.stampdesignco.comp


I've tried to find the code for this myself but can't seem to make it work. 

Does anyone know how to adjust the line height of a Product Title in mobile view only? There's a lot of white space between the title and image - I'm wanting to shift the title down a little and move the image up so there's less of a gap.

Thank you!


Hi, try adding this code to custom css (Design > Custom CSS) and let me know how it goes 🙂 

@media screen and (max-width:767px) {
  h1.ProductItem-details-title {
    margin-bottom: -1em !important;

Please give this a 👍 if it helps. Make sure to quote me or tag me in your reply, otherwise I won't be notified.

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.