Search for: Log In Free Support [Support request] Is there a way to limit the length of text on the shop pages for products? Home › Forums › Support › Is there a way to limit the length of text on the shop pages for products? This topic has 3 replies, 2 voices, and was last updated 6 months, 1 week ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts July 2, 2020 at 9:44 am #1349719 chris I currently have some long product names & i’m looking to truncate the text so it stays on two lines, is there an easy way do doing this? thanks in advance July 2, 2020 at 10:12 am #1349755 DavidStaff Customer Support Hi there, you can try some CSS to force all titles to a maximum of 2 lines: .woocommerce ul.products li.product .woocommerce-LoopProduct-link h2 { line-height: 2.5ex; height: 5ex; overflow: hidden; text-overflow: ellipsis; } Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ July 21, 2020 at 12:54 pm #1371306 chris hey thanks for this, it was really helpful July 22, 2020 at 12:34 am #1371757 DavidStaff Customer Support Glad to hear that Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In