Reduce padding featured collection on mobile

Hi there,

Can someone assist with reducing the padding on featured collection for mobile only as per attached image please?

2 Likes

Hi @Sharyn2

Welcome to the Shopify Community! Please share your store URL and password (if it’s password-protected), so I can check and provide you with the exact solution.

Best regards,
Devcoder :laptop:

Hi, @Sharyn2
Can you share your store url so that I can check it?

Hi,

Hope this will help

At base.css, theme.css or component-collection.css need to add css

CSS example

@media screen and (max-width: 749px) {
  .featured-collection,
  .section-featured-collection,
  .collection {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .featured-collection .grid,
  .collection .grid {
    row-gap: 10px;
  }
}

If the padding is coming from the section wrapper

Some themes wrap sections in a .page-width container. In that case this tweak will help:

@media screen and (max-width: 749px) {
  .featured-collection .page-width {
    padding-left: 10px;
    padding-right: 10px;
  }
}

hey @Sharyn2 share the URL of your website so then i can help you