Jump to content

Change padding on Images mobile without changing desktop?

Recommended Posts

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

1 hour ago, Rjafadi said:

Site URL: https://www.prsnlhb.com/tops/phb-essential-logo-t-shirt-black

Hi everyone,

Is there a way to move up the padding image on mobile without affecting the desktop padding? 

Thank you

Screenshot 2022-09-16 at 23.08.14.png

Try adding to Home > Design > Custom Css

@media screen and (max-width: 640px){
  figure.ProductItem-gallery {
    margin-top:0;
  }
  .ProductItem-nav {
    padding-bottom: 15px;
  }
}

Let me know how it works on your site

Edited by bangank36

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

My testing

image.png.a5802ecff3519d81009afad839526d80.png

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

Check my code again, change the value padding to meet your need

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
1 hour ago, Rjafadi said:

Thank you! @bangank36 anyway I can remove this?

Screenshot 2022-09-17 at 00.37.40.png

I include with the old code to hide the paging Info of images gallery

/*style for mobile*/
@media screen and (max-width: 640px){
  /*reduce padding product gallery*/
  figure.ProductItem-gallery {
    margin-top:0;
  }
  .ProductItem-nav {
    padding-bottom: 15px;
  }
  
  /*hide the paging info*/
  .ProductItem-gallery .pagingInfo {
    display: none;
  } 
}

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, 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

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.