(Dawn) How to add space between product images in featured collection

Solved

(Dawn) How to add space between product images in featured collection

friendlyrobot19
Excursionist
20 0 6

How to add a gap in-between each of these product images.

 

Example:

 

14323.PNG

 

Store link: https://95d536-88.myshopify.com/         

Store keycode: www

Accepted Solution (1)

BSS-TekLabs
Shopify Partner
2401 695 832

This is an accepted solution.

- Here is the solution for you @friendlyrobot19 
- Please follow these steps:

step.png

- Then find the base.css or theme.css file.
- Then add the following code at the end of the file and press 'Save' to save it.

@media only screen and (min-width: 600px) {
.grid {
 column-gap: 30px !important;
}
    .grid--4-col-desktop .grid__item {
        width: calc(20% - var(--grid-desktop-horizontal-spacing)* 3 / 4) !important;
    }
}

- Here is the result you will achieve:

BSSTekLabs_0-1722000978306.png

 

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Replies 3 (3)

Moeed
Shopify Partner
7168 1937 2362

Hey @friendlyrobot19 

 

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 </body> tag

<style>
@media screen and (min-width: 768px) {
.grid {
    column-gap: 40px !important;
}
.grid--4-col-desktop .grid__item {
    width: calc(20% - var(--grid-desktop-horizontal-spacing)* 3 / 4) !important;
}
}
</style>

RESULT:

Moeed_0-1721996921727.png

 

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

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


Huptech-Web
Shopify Partner
1164 232 263

Hey @friendlyrobot19, just follow these steps to increase or decrease the space without any code!

https://app.tango.us/app/workflow/How-to-add-space-using-layout-settings-8616877d28e34b5aa1e083f2f8b... 

If you need further assistance, please let me know. If you found my help useful, consider liking this message and marking it as the solution.
K.K

If you found this response helpful, please do like and accept the solution. Thanks!
Need support with Customizing your Shopify store?
Feel free to contact me at info@huptechweb.com or Visit our website Huptech Web.
Instant Shortcode Builder: Integrate customizable UI features anywhere in your store - No coding knowledge required

BSS-TekLabs
Shopify Partner
2401 695 832

This is an accepted solution.

- Here is the solution for you @friendlyrobot19 
- Please follow these steps:

step.png

- Then find the base.css or theme.css file.
- Then add the following code at the end of the file and press 'Save' to save it.

@media only screen and (min-width: 600px) {
.grid {
 column-gap: 30px !important;
}
    .grid--4-col-desktop .grid__item {
        width: calc(20% - var(--grid-desktop-horizontal-spacing)* 3 / 4) !important;
    }
}

- Here is the result you will achieve:

BSSTekLabs_0-1722000978306.png

 

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now