Layout for search results

Hi!

Using blockshop and search products layout on mobile view displays one product at a time.

How to change the view to display 2 or more grids after a search.

1 Like

Hello.
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.

1 Like

www.swankybeautysupply.com

  • Here is the solution for you @Jofori
  • Please follow these steps:

  • Then find the theme–async.css file.
  • Then add the following code at the end of the file and press ‘Save’ to save it.
.search--product {
    width: 50% !important;
}
  • Here is the result you will achieve:

  • Please press ‘Like’ and mark it as ‘Solution’ if you find it helpful. Thank you.
2 Likes

Thank you very much, I’ll give this a try soon and let you know if it worked.
Also, is there are way to add filtering to my search?

If you want to add a filter to the search section, this requires time to customize additional code, so I am not able to do this right now. Please try implementing the code above, and if you have any questions, feel free to message me.

Hi @Jofori

Check this one.

  1. From you Admin page, go to Online Store > Themes
  2. Select the theme you want to edit
  3. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  4. Then place the code below at the very bottom of the file.
@media only screen and (max-width: 749px){
.search--products-container .search--product {
    width: 50%;
}
    }

Thank you very much!

worked!

Thanks for this, its fixed my search modal on mobile devices. Great. :slightly_smiling_face: