Give long titles special class "long-title"

Issue #26 resolved
johannesmutter created an issue

For some product titles in would be great to adapt the title size, depending on the length of the title, so the title wouldn’t break awkwardly. I’m not aware of a CSS-only solution, so I guess a classname added by php would be the best solution.

(Similar to Tweets in Twitter: Short text → Large font-size || Long Text → Small font-size)

Comments (1)

  1. Log in to comment