Jump to content

How can I reduce the spacing between the header and category, has anyone got a code to customise this please. Thank you

Go to solution Solved by Beyondspace,

Recommended Posts

  • Replies 5
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

41 minutes ago, SelwynGoodman said:

What the title says.

i just need to spacing to be reduced where it’s highlighted. I also only need this for mobile, not desktop, as the spacing is fine on desktop. 

Can each category also have the same spacing also, thank you in advance! 

 

IMG_8641.jpeg

IMG_8640.png

Can you share your site so I can take a look?

Edited by Beyondspace

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace (+100 Spark plugin customisations)
🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
  • Solution
9 minutes ago, SelwynGoodman said:

Sure.

www.selwyngoodman.co

 

Thank you! 

You can try add the following custom Css code

@media only screen and (max-width: 767px) {
  section[data-section-id="65b24e50b427163099b47c10"] .products.collection-content-wrapper .nested-category-children {
    padding-top: 0;
  }
  section[data-section-id="65b24e50b427163099b47c10"] .nested-category-title {
    padding-top: 10px;
  }
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace (+100 Spark plugin customisations)
🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
49 minutes ago, Beyondspace said:

You can try add the following custom Css code

@media only screen and (max-width: 767px) {
  section[data-section-id="65b24e50b427163099b47c10"] .products.collection-content-wrapper .nested-category-children {
    padding-top: 0;
  }
  section[data-section-id="65b24e50b427163099b47c10"] .nested-category-title {
    padding-top: 10px;
  }
}

 

Thank you so much! If I wish to adjust the spacing can I do it through the code?

Also do mind if I ask for one more thing if your not busy, very similar to this? 

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.