How can I create a gap between pictures on my webpage?

Hi, I followed the exact steps of this link and was not able to fix my problem. https://community.shopify.com/c/shopify-discussions/how-do-i-add-a-gap-between-these-two-images/m-p/2232437#M386382

I only see base.css in my assets and followed the exact steps and nothing changed. I’m trying to create a gap between these photos, please let me know if you know what I can do.

1 Like

Hi @UrbanMangoz

Do you mean like this?

If it is, check this one.

  • From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  • Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  • 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:
#shopify-section-template--21599151161650__40771d09-037d-4d91-87c1-7da48eb0fcc5 .banner__media.media.scroll-trigger.animate--fade-in img {
    padding-bottom: 30px !important;
    background: white;
}
  • And save.
  • Note: You can increase/decrease the size.

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

1 Like

.To create a gap between pictures, use the CSS margin property: This will create a 10-pixel gap between the images. Adjust the margin-right value as needed

THANK YOU

1 Like

Now I’m stuck because that only worked for that one page and I need it for every page, please let me know if you can help with that.

Website is https://theurbanmangoz.com/

Now I’m stuck because that only worked for that one page and I need it for every page, please let me know if you can help with that.

Website is https://theurbanmangoz.com/