Jump to content

Reduce space between elements in banners on mobile devices

Recommended Posts

10 minutes ago, CassieZ said:

Site URL: https://www.fixate.it/

Hi there, could anyone offer some advice on how to reduce the spacing between text blocks, button blocks, and other elements on the banners across the site: fixate.it on mobile (desktop is fine)? The issue only really seems to be in the banners:

See images below:

 

 

Image from iOS.png

Image from iOS (1).png

Try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  #block-yui_3_17_2_1_1635163873484_30419 , #block-yui_3_17_2_1_1635227478180_1807 {
    padding-top: 0;
    padding-bottom: 0;

  }
  #block-yui_3_17_2_1_1635163873484_30419  h2, #block-yui_3_17_2_1_1635227478180_1807 h2 {
    margin-top:0;
    margin-bottom:0;
  }

  section[data-section-id="61af44e21883f629bb02b130"]  .user-items-list {
    padding-top: 0 !important;
  }
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

Edited by bangank36

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.