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
  • Views 337
  • 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?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

If you find my answer useful, 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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

If you find my answer useful, 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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

If you find my answer useful, 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;
  }
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

If you find my answer useful, 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.