Jump to content

How to remove space between the header and the content only on mobile

Recommended Posts

  • Replies 1
  • Views 303
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

2 hours ago, imazele said:

Site URL: https://www.illmatic-store.com/

Hello I have a problem! It is only visible on mobile you can clearly see a little space between the header and the first content and I don't know how to remove it! Can you help me please ! I show you the gap that I want to remove on the following picture !

I apologize for my English !




Is it the result you want to achieve on mobile?


Try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  #block-yui_3_17_2_1_1639997603186_21137 {
    padding-top: 0 !important;

Let me know how it works on your site


BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

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.