Adjusting number of products in a row on collection page

I’m using Simple theme and want to adjust the number of items in a row on collection page from three to four. I know I have to do this in the collection-template.liquid file, and I have found the bit of code I need to adjust…however, whenever I try to adjust it to “fourth” it shows only one item per row. Any other integer (half, fifth, sixth, seventh, etc.) works. It’s just fourth that doesn’t display properly. Anybody know why this would be happening?

Here is the bit of code that I’m adjusting:

and here’s what displays with “fourth” :

Hoping theres just some rule that I’m not aware of? Any insight would be very helpful.

Thanks!

Hi @Fortunebaby

Thank you for your question.

Please share your store URL, page URL and also password (if your store has one) so we can help you.

Here you go! https://n5ycxgkbbv0y8kf7-24693833779.shopifypreview.com/