How to decrease the padding on a featured collection when it is already on '0'

the padding is on 0 yet it seems to be stretching into the section below. I only want to decrease it here, only on mobile:

my url is cheffings.net → this is on the home page

1 Like

Hi @lukafernada

Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media screen and (max-width: 749px) {
    .collection .slider.slider--tablet {
        margin-bottom: 0rem !important;
}
    .collection .card--standard>.card__content .card__information {
        padding-bottom: 0 !important; 
}
}

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

1 Like

Thank you it worked! is there also a way to decrease the space here?

Yes, Add this one.

@media screen and (max-width: 749px) {
    .slider.slider--tablet.contains-card--standard .slider__slide:not(.collection-list__item--no-media) {
        padding-bottom: 0;
    }
    slider-component.slider-mobile-gutter .slider {
        margin-bottom: 0;
}
}

And Save.

Result:

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!