Skip to content

How to add more products in row in product category page

Magento version 2.4.7
My requirement is that I want to modify the product category page so that it can display 5 products per row. The default is to display only 4 products. I have tried all the solutions I can find,included ChatGPT, but all are faile.
I would like to ask if there any verified solution for 2.4.7 version?
https://i.sstatic.net/ICaCT.jpg

borrow a image from anther same question.