How To Limit Product Title Length to be displayed on home page so it looks even for all products

Does anyone know how to limit Product Title length in css so once my store home page is displayed the products don’t look like they are mis aligned because of the short and long titles. I used someone’s advise on these forums before and it worked fine. It was more than a year ago and I lost track of it, cannot find it anywhere now.

This is my site: I am using Framemarket theme with Gridmarket . Thanks in advance.