Solved

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

UrbanMangoz
Tourist
8 0 5

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/...

 

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. 

 

 

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
5950 1432 1765

This is an accepted solution.

Hi @UrbanMangoz 

Do you mean like this? 

Made4uoRibe_0-1701193978891.png

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


View solution in original post

Replies 5 (5)

Made4uo-Ribe
Shopify Partner
5950 1432 1765

This is an accepted solution.

Hi @UrbanMangoz 

Do you mean like this? 

Made4uoRibe_0-1701193978891.png

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


UrbanMangoz
Tourist
8 0 5

THANK YOU

UrbanMangoz
Tourist
8 0 5

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/

UrbanMangoz
Tourist
8 0 5

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/

maher22
Visitor
1 0 0

.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