Jump to content

Reduce empty space on mobile only

Recommended Posts

Site URL: https://www.eshertennis.co.uk/homenew

PW: james

Hi all - I have a really annoying problem that I hope someone can solve for me.

I have my homepage looking exactly how I want it to look on desktop. But on mobile I have a really large space that I can't figure out how to close (please see attached image).

I don't want to remove the space entirely but just have a lot less of it (like there is on desktop).

Eternally grateful to anyone who can help because this problem is really bugging me!

Screenshot 2021-10-02 at 10.58.59.png

Link to comment
2 hours ago, jbassett said:

Site URL: https://www.eshertennis.co.uk/homenew

PW: james

Hi all - I have a really annoying problem that I hope someone can solve for me.

I have my homepage looking exactly how I want it to look on desktop. But on mobile I have a really large space that I can't figure out how to close (please see attached image).

I don't want to remove the space entirely but just have a lot less of it (like there is on desktop).

Eternally grateful to anyone who can help because this problem is really bugging me!

Screenshot 2021-10-02 at 10.58.59.png

Add to Home > Design > Custom Css

@media only screen and (max-width: 768px) {
	section[data-section-id="61582a9abb4c3727b9230618"] {
      display:none;
    }
}

 

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

Sorry I might have spoken too soon! The mobile and desktop are now working great but tablets aren't quite right. I now don't have any space between the floating white box at the top and the content below.

Is there a way to have a little padding between the two for tablet sized screens?

 

Screenshot 2021-10-02 at 14.43.06.png

Link to comment
1 hour ago, jbassett said:

Sorry I might have spoken too soon! The mobile and desktop are now working great but tablets aren't quite right. I now don't have any space between the floating white box at the top and the content below.

Is there a way to have a little padding between the two for tablet sized screens?

 

Screenshot 2021-10-02 at 14.43.06.png

Add some media query in Custome Css

@media only screen and (min-width: 768px) {
  section[data-section-id="614e554c84ed4320845ba5ab"] {
    padding-top: 0 !important;
    min-height: 92vh !important;
  }
}

@media only screen and (min-width: 1024px) {
  section[data-section-id="61582a9abb4c3727b9230618"] {
    padding-top: 0 !important;
    min-height: 20vh !important;
  }
}

@media only screen and (min-width: 1200px) {
  section[data-section-id="61582a9abb4c3727b9230618"] {
    padding-top: 0 !important;
    min-height: 30vh !important;
  }
}

 

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.