New Shopify Certification now available: Liquid Storefronts for Theme Developers

Removing gap between photos on product page in Broadcast Theme

Solved
RenéeLeighann
Shopify Partner
36 0 8

Hello!

 

I'm trying to remove the gaps between grid photos on the product page in the Broadcast theme. The website is not currently live. 

 

You can see the gaps in the photo in the attached screenshot.

 

Thanks in advance for your assistance!

 

Renée

 

Screenshot 2023-09-15 at 3.49.25 PM.png

Accepted Solution (1)
Taknify
Pathfinder
93 8 9

This is an accepted solution.

Go to your theme.css file. 
Search for this (CTRL + F): .product__wrapper--grid-1 .product__slides.product__wrapper--grid-2 .product__slides

Then remove column-gap css property on that. 
Screenshot 2023-09-16 at 2.06.23 PM.png

Need to tweak your store a bit? Come and visit us at Taknify or send me message.

View solution in original post

Replies 6 (6)
Made4uo-Ribe
Shopify Partner
4235 979 1193

Hi @RenéeLeighann 

Would you mind to share your Store URL website? with password if its protected. 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.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


RenéeLeighann
Shopify Partner
36 0 8
Made4uo-Ribe
Shopify Partner
4235 979 1193

Thank you for the informatin. Just to clarify, do you like to remove the gap only? If it is, try 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:

 

.product__page {
    gap: 0px !important;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1694895530508.png
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.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


Taknify
Pathfinder
93 8 9

This is an accepted solution.

Go to your theme.css file. 
Search for this (CTRL + F): .product__wrapper--grid-1 .product__slides.product__wrapper--grid-2 .product__slides

Then remove column-gap css property on that. 
Screenshot 2023-09-16 at 2.06.23 PM.png

Need to tweak your store a bit? Come and visit us at Taknify or send me message.
RenéeLeighann
Shopify Partner
36 0 8

That worked thank you so much! Now I just want to enlarge the photos so they look like this:

 

https://www.monicavinader.com/ca/gift-sets/corda-diamond-locket-curb-chain-necklace

Taknify
Pathfinder
93 8 9

Hello,
Glad that worked for you. For making those photos similar to the website provided, I need to do some custom coding on the backend. 
Basically, I need to adjust some html and css elements to have that desired section. 
For that, I would need access to your store. If you are willing to grant me that, I will be more than happy to make one for you. 

Need to tweak your store a bit? Come and visit us at Taknify or send me message.