Jump to content

Adjusting header spacing on mobile view

Go to solution Solved by Beyondspace,

Recommended Posts

Site URL: https://www.simonavisuals.com

Hey, 

I'm looking to reduce the spacing of my header/top menu site-wide on mobile only. I'm happy with how it looks on desktop but on mobile there's quite a large space between the header and the content of my pages. I've tried a handful of suggested custom CSS from people with similar issues but had no luck!

Any help would be greatly appreciated - thank you!

IMG_0757.jpg

IMG_0758.jpg

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

  • Solution
5 hours ago, simonavisuals said:

Site URL: https://www.simonavisuals.com

Hey, 

I'm looking to reduce the spacing of my header/top menu site-wide on mobile only. I'm happy with how it looks on desktop but on mobile there's quite a large space between the header and the content of my pages. I've tried a handful of suggested custom CSS from people with similar issues but had no luck!

Any help would be greatly appreciated - thank you!

IMG_0757.jpg

IMG_0758.jpg

Try in Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  #page {
    margin-top: 0 !important;
  }

  .mobile-bar-wrapper .mobile-branding-wrapper{
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .main-content .sqs-row > .col > .sqs-block-gallery {
    padding-top: 0 !important;
  }
}

Let me know how it works on your site

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.c83b0897f18927a49bbaabca00207a09.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
3 hours ago, bangank36 said:

Try in Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  #page {
    margin-top: 0 !important;
  }

  .mobile-bar-wrapper .mobile-branding-wrapper{
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .main-content .sqs-row > .col > .sqs-block-gallery {
    padding-top: 0 !important;
  }
}

Let me know how it works on your site

Absolutely perfect! Thank you so much Ba, your help is much appreciated.

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.