Too much spacing between featured collections on Craft Theme

Hello Everyone, Hope this message finds you well.
Can someone help, I find there is too much empty/ free spacing between each featured collections on Craft

theme - Mobile version.

1 Like

Hello @GiudFabri123

Go to online store ---------> themes --------------> actions ------> edit code------->base.css
at the end of the file and save.

.section+.section {
margin-top: 2rem !important;
}

result

If this was helpful, hit the like button and accept the solution.
Thanks

Hi @GiudFabri123

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.

@media only screen and (max-width: 749px) {
  .section + .section {
    margin-top: 20px !important;
  }
}

And Save.

Result:

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

sadly it’s not working

sadly it’s not working

PLease, check it again I did some change on the code. Thanks!

1 Like

It worked - i just reduced the ‘PX’ to make it smaller! thank you!

Yes, you can do that. Welcome! Would you mind hitting ‘like’ as well? Thanks!

1 Like