Remove Empty Space

Solved

Remove Empty Space

ArnauP
Excursionist
41 3 9

Hello, I have 4 products selected per row and I only get 3, how can I fix it so that it fits in its place?

 

https://jaccomcollection.com/collections/t-shirt

 

Thank you so much

 

ArnauP_0-1724498943472.png

 

Accepted Solutions (2)

BSSCommerce-B2B
Shopify Partner
1407 386 450

This is an accepted solution.

Hi @ArnauP ,

I have reviewed your requirement, you just need to edit css script and the issue will be resolved.  You can follow my instructions! 

 

Step 1: Go to Admin -> Online store -> Theme > Edit code:

BSSCommerceB2B_0-1724500028413.png

 

Step 2: Search for the file base.css. And add this code snippet to the end of the file.

@media screen and (min-width: 990px) {
    .grid--4-col-desktop .grid__item {
        max-width: calc(25% - var(--grid-desktop-horizontal-spacing)* 12) !important;
    }
}

 

Step 3: Save and reload home page.

=>> The result: 

BSSCommerceB2B_1-1724500281177.png

 

I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.

Have a nice day sir! 

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now I Donate Us Here!

View solution in original post

BSS-TekLabs
Shopify Partner
2084 614 718

This is an accepted solution.

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

z5686811214059_e66de1953f1db631f9134af5cdb796ad.jpg

- Then find the theme.liqid file.
- Then add the following code at the before tag </head> and press 'Save' to save it.

<style>
@media screen and (max-width: 749px) {
    .grid--2-col-tablet-down .grid__item {
        width: calc(47% - var(--grid-mobile-horizontal-spacing) / 2) !important;
    }
}
@media screen and (min-width: 990px) {
    .grid--4-col-desktop .grid__item {
        width: calc(23% - var(--grid-desktop-horizontal-spacing)* 3 / 4) !important;
        max-width: calc(25% - var(--grid-desktop-horizontal-spacing)* 3 / 4);
    }
}
</style>

- Here is the result you will achieve:

BSSTekLabs_0-1724504584463.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)

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

View solution in original post

Replies 4 (4)

BSSCommerce-B2B
Shopify Partner
1407 386 450

This is an accepted solution.

Hi @ArnauP ,

I have reviewed your requirement, you just need to edit css script and the issue will be resolved.  You can follow my instructions! 

 

Step 1: Go to Admin -> Online store -> Theme > Edit code:

BSSCommerceB2B_0-1724500028413.png

 

Step 2: Search for the file base.css. And add this code snippet to the end of the file.

@media screen and (min-width: 990px) {
    .grid--4-col-desktop .grid__item {
        max-width: calc(25% - var(--grid-desktop-horizontal-spacing)* 12) !important;
    }
}

 

Step 3: Save and reload home page.

=>> The result: 

BSSCommerceB2B_1-1724500281177.png

 

I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.

Have a nice day sir! 

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now I Donate Us Here!

ArnauP
Excursionist
41 3 9

It works, but in mobile sees like this:

 

IMG_20240824_135618.jpg

BSSCommerce-B2B
Shopify Partner
1407 386 450

Hi @ArnauP , 

We're happy to see that our suggestion helped you solve the issue. 

Sr about my mistake on mobile. 

You can add more css script in base.css, like below to fix this problem: 

 

@media screen and (max-width: 768px) {
    .grid--2-col-tablet-down .grid__item {
        width: calc(47% - var(--grid-mobile-horizontal-spacing) / 2) !important;
    }
}

 

 

Hope it helps. 

😍It's such my honor to help you, bro.

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now I Donate Us Here!

BSS-TekLabs
Shopify Partner
2084 614 718

This is an accepted solution.

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

z5686811214059_e66de1953f1db631f9134af5cdb796ad.jpg

- Then find the theme.liqid file.
- Then add the following code at the before tag </head> and press 'Save' to save it.

<style>
@media screen and (max-width: 749px) {
    .grid--2-col-tablet-down .grid__item {
        width: calc(47% - var(--grid-mobile-horizontal-spacing) / 2) !important;
    }
}
@media screen and (min-width: 990px) {
    .grid--4-col-desktop .grid__item {
        width: calc(23% - var(--grid-desktop-horizontal-spacing)* 3 / 4) !important;
        max-width: calc(25% - var(--grid-desktop-horizontal-spacing)* 3 / 4);
    }
}
</style>

- Here is the result you will achieve:

BSSTekLabs_0-1724504584463.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)

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