We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Changing collection card gap sizes

Solved

Changing collection card gap sizes

SilentWizard
Tourist
4 0 3

Hi,

 

I'm trying to make the gap between my collection cards smaller but can't find a solution. The collections scroll and will be similar to the buttons on Instagram for stories or highlights. 

Do you know how to make them closer together? I have custom CSS already running on them to make them the shape and size.

I've looked around on the community but I can't seem to find an answer for this.

 

Screenshot below is how it would look on mobile, ignore the grey border.

 

Screenshot 2024-07-25 170854.png

 

Thanks!

Accepted Solution (1)
BSS-TekLabs
Shopify Partner
2401 695 836

This is an accepted solution.

- Here is the solution for you @SilentWizard 
- 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 (max-width: 600px) {
.collection-list__item {
 min-width: 28% !important;
}
.collection-list__item .card__inner {
     width: 60% !important;
}
}

- Here is the result you will achieve:

BSSTekLabs_0-1721925456022.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 8 (8)

BSS-TekLabs
Shopify Partner
2401 695 836


Hello @SilentWizard .
Our team is ready to help you.
Please share your website address and access password (if necessary) so that we can check and assist 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
SilentWizard
Tourist
4 0 3

Hi, the current address is sent to you

BSS-TekLabs
Shopify Partner
2401 695 836

This is an accepted solution.

- Here is the solution for you @SilentWizard 
- 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 (max-width: 600px) {
.collection-list__item {
 min-width: 28% !important;
}
.collection-list__item .card__inner {
     width: 60% !important;
}
}

- Here is the result you will achieve:

BSSTekLabs_0-1721925456022.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
SilentWizard
Tourist
4 0 3

That's so much better, thank you! Is there a way to make the extra icons 'peek' from the right to indicate there are more available?

BSS-TekLabs
Shopify Partner
2401 695 836

If you want like this.

change 28% to 27%

@media only screen and (max-width: 600px) {
.collection-list__item {
 min-width: 27% !important;
}
.collection-list__item .card__inner {
     width: 60% !important;
}
}

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
BSS-TekLabs
Shopify Partner
2401 695 836

BSSTekLabs_0-1721926040131.png

 

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
SilentWizard
Tourist
4 0 3

Thank you for all your work!

BSS-TekLabs
Shopify Partner
2401 695 836

Glad to help you. Have a good day.

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