Jump to content

Help adding space/padding between related products on mobile

Go to solution Solved by emilyks,

Recommended Posts

Hello! The items shown in related products at the bottom of my product listings are spaced out evenly on desktop, but on mobile they get squished together and start to overlap.

Any tips to add additional space between the related products? (the padding adjustments in site styles only seem to change the listing info and don't affect the related products section)

Images:
Left: desktop view of related products
Right (2 images): mobile view of related products (price text cut off)

 

 

Screen Shot 2023-01-30 at 15.39.19.png

IMG_1394.PNG

IMG_1395.PNG

Link to comment
  • Replies 4
  • Views 307
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 2/4/2023 at 1:59 AM, emilyks said:

Thanks for your reply! I don't think I have any custom CSS that would affect this part of of the page (although I do have a couple custom fonts added, but it doesn't look like that's interfering).

It's one of my product pages, for example this one: https://www.emilykeatingsnyder.com/prints/print-pink-dust-cornflower

Add to Home > Design > Custom CSS to fix problem

@media screen and (max-width:767px) {
.ProductItem-relatedProducts-grid .product-price {
    line-height: 30px !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.