How do I decrease the space between the heading and collections on a Collection List

The space I’d like to decrease is shown here:

1 Like

Hey @lukafernada

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

Hi @lukafernada

Check this one.

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

h2.title.inline-richtext, .title-wrapper-with-link {
    margin-bottom: 0px;
}

And Save.

Result:

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like

it works but it undoes the same thing I done to the featured collections (e.g. the popular collection above it). Is it that the code you gave me override my other code which does the same thing for featured collections, because I already have this:

1 Like

Hey @lukafernada

Try this code instead as it will only work for the section which you shared a screenshot of.


If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like

That is great thank you - just wondering does this code only work for the Collection List in the screenshot? just wondering, it’s ok if it does