String contain question

Navigator
1151 0 118

So the products that do not meet the criteria correctly do not show up BUT you are left with white space?

This might help, though I am not totally sure I understand the issue without seeing the code or the output:

https://help.shopify.com/themes/liquid/basics/whitespace

 

http://www.StandoutDesigns.com ::: Solid Wood TV Furniture for Enthusiasts. Made in USA.
0 Likes
Tourist
26 0 2

It's like this :

I added a style attribute with display: none; to that products and that is what is showed.

0 Likes
Navigator
1151 0 118

I wonder if there is another container around that. I am not familiar with your theme but in my experience (namely with Out of the Sandbox themes), there is a loop through the products and if the product is to be shown, it includes a "thumbnail" liquid file. It seems to me that you should be skipping the thumbnail altogether if the product is filtered.

http://www.StandoutDesigns.com ::: Solid Wood TV Furniture for Enthusiasts. Made in USA.
0 Likes
Tourist
26 0 2

No, my script dont work that way, because if i change the criteria i can't load again products from javascript ( or i don't know how ). It just hide the products that are not meet the criteria, is there anyway to reorder products after ? Or is a easier way ?

0 Likes
Highlighted
Navigator
1151 0 118

Beyond my skill level, I am afraid. You may want to make a new post for this particular question so that it catches the eye of someone who can help.

http://www.StandoutDesigns.com ::: Solid Wood TV Furniture for Enthusiasts. Made in USA.
0 Likes
Tourist
26 0 2

Alright, thank you so much ! :)

 

0 Likes