Jump to content

Banner Slideshow has way too much vertical padding on mobile

Go to solution Solved by Spark-Plugin,

Recommended Posts

  • Solution
Posted (edited)

Hello @evemarden, give this code a try, this should work, also see attached screenshot for reference:

  1. Navigate to Pages > Website Tools > Custom CSS.
  2. Paste the code into the CSS editor.
  3. Hit Save and you’re done
/* Adjust Slide Content Margin for Small Screens */
@media screen and (max-width: 767px) {
    .user-items-list-banner-slideshow .slide-content {
        /* Sets the margin for small screens */
        margin-bottom: -40px !important; /* Adjust this value as needed */
    }
}

 

Screenshot 2024-11-26 at 9.47.10 AM.png

Edited by Spark-Plugin

- Answered by Iuno from sparkplugin.com

forumsignature-recommendedcopy2.png.0579645eb1430dc7c1059541dc6456c6.png

Posted
12 hours ago, Spark-Plugin said:

Hello @evemarden, give this code a try, this should work, also see attached screenshot for reference:

  1. Navigate to Pages > Website Tools > Custom CSS.
  2. Paste the code into the CSS editor.
  3. Hit Save and you’re done
/* Adjust Slide Content Margin for Small Screens */
@media screen and (max-width: 767px) {
    .user-items-list-banner-slideshow .slide-content {
        /* Sets the margin for small screens */
        margin-bottom: -40px !important; /* Adjust this value as needed */
    }
}

 

Screenshot 2024-11-26 at 9.47.10 AM.png

Thankyou so much Spark-Plugin!

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.