Jump to content

Control "content section padding" independently on mobile

Recommended Posts

In the attached image you can see that there is a quite a big gap at the top of all the pages on mobile, it is controlled by a slider called "content section padding". I want to be able to control that on mobile independently from the desktop version because the current setting is perfect on desktop.

Thank you!

222.PNG

Link to comment
  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

2 hours ago, johne said:

In the attached image you can see that there is a quite a big gap at the top of all the pages on mobile, it is controlled by a slider called "content section padding". I want to be able to control that on mobile independently from the desktop version because the current setting is perfect on desktop.

Thank you!

222.PNG

Can you share your site with the protected password so we can take a look?

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
16 hours ago, johne said:

Try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  #collection-6279d756bcad194c35f5278c .Main-content {
    padding-top: 0;
  }
}

Support me by pressing 👍  or marking as solution if this useful for you

Edited by Beyondspace

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.thumb.png.b5bbd2aa5353eac340aa7bcbab4c6ff0.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
17 hours ago, Beyondspace said:

Try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  #collection-6279d756bcad194c35f5278c .Main-content {
    padding-top: 0;
  }
}

Support me by pressing 👍  or marking as solution if this useful for you

Thank you! Is there a way to apply this to all pages and not a specific collection?

Link to comment

Remove the page Id on my code and it will apply all pages

@media only screen and (max-width: 767px) {
  .Main-content {
    padding-top: 0;
  }
}

 

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.