How to reduce product line from 5 to 4 for Venture Theme

Hi. Each of my page lists 4 products on each line. However when I search for an item, the line increase to 5 products. How I can make it 4 like others ?

Thank you.

1 Like

Hi @Narquila ,

Please share your store URL and if your store is password protected then please provide password too.

So that we can help you.

Thank you.

@Narquila

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! :blush:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

https://forgegrills.com/

password: ishelo

https://forgegrills.com/

password: ishelo

Hi @Narquila ,

You can follow the instruction below:

  1. Go to Online Store->Theme->Edit code
  2. Asset->/theme.scss->paste below code at the bottom of the file:
@media (min-width: 750px) {
.template-search .grid__itemv {
    width: 25% !important;
}
}

If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.

Hi,

I tried but still shows 5 items. I even tried width: 50% !important, nothing changed. Thank you.

Hi @Narquila ,

sorry I was wrong. You can copy below code again in theme.scss:

@media (min-width: 750px) {
.template-search .grid__item {
    width: 25% !important;
}
}

If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.

1 Like

Hi, I really appreciate but this time it shows 4+1. Here is what i mean.

Thank you.

Hi @Narquila ,

You can copy below code again in theme.scss:

@media (min-width: 750px) {
.template-search .grid--no-gutters {
    display: flex !important;
    flex-wrap: wrap;
}
.template-search .grid__item {
    width: 25% !important;
}
}

If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.

1 Like