Reset column count if second loop on one page
-
When having a second product loop on a page, it does not always start with the li class=first, but kind of finishes the first loop’s last line.
So, for example in a 3 column layout, I display 4 categories (or products): 3 and 1, ok.
Then some text, then display 12 products: the first line is only 2 products because first product is not assigned with the li-class “first”.
See example here: https://www.floesch.com/blog/produktkategorie/haushaltsgeraete-2/
What would be the best practice to do a “reset” before displaying the second loop?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Reset column count if second loop on one page’ is closed to new replies.