Jump to content

Shop page - Add padding

Recommended Posts

20 hours ago, DaringDirtbag said:

Site URL: https://www.daringdirtbag.com/shop

PW - DDaccess

I was hoping to add some padding on the left and right of my shop page to the item name and price. I like the way the image goes all the way to the edge, but not the rest. I attached an example of what I mean. Can this be possible?

Thank you!

Laura

Screen Shot 2022-10-06 at 11.12.46 AM.png

Try the following code

@media screen and (min-width: 768px) {
  .products.collection-content-wrapper .list-grid  {
    padding-left: 30px;
    padding-right: 30px;
  }
}

Support me by pressing 👍 if this useful for you

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, Lightbox Studio plugin
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

Thank you for all your help! I don't know how you do it! Is it not possible to keep the photos on the edge but indent everything else. I really like the way the item images extend all the way to the edge on both sides, but the text or name and price come in just a bit. I also hate how bit the text is. I really like how it's smaller in the image I attached and fits in one line. How do I resize it?

 

Thank you thank you thank you!!!

Laura

Link to comment
On 10/8/2022 at 1:33 AM, DaringDirtbag said:

1207064861_ScreenShot2022-10-07at11_31_48AM.png.88346dc593d0593e19f10bb2a5a5819a.png

It looks like you solved with this code?

.products-list .grid-meta-wrapper {
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
}

 

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.