Jump to content

Summary items beneath Product details page on mobile

Go to solution Solved by tuanphan,

Recommended Posts

Im simply trying to place summary items (dragged from a different store) in two per row beneath a product detail page, but there seem to some padding or margin (top) on each summary item that i cant figure out how to remove.
 

Page:

https://www.palmfiction.dk/palms/p/kentia-90cm


Im using this custom css:

@media only screen and (max-width: 767px) {
.summary-item-list {
display: flex;
flex-wrap: wrap;
}
.summary-item {
width: 45% !important;
margin: 4vw 2vw !important;
}
}

Does anyone know the solution for 7.1 store?

Thanks in advance.

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution

You mean this margin?

image.png.cfaac3e8d6d5edcacffd1de3cbe487d1.png

Don't remove any code in your current code. Add this to Design > Custom CSS

@media screen and (max-width:767px) {
section.ProductItem-additional .summary-item-list {
    height: auto !important;
}
section.ProductItem-additional .summary-item {
    position: static !Important;
    height: auto !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.