Limit Title Character number and add …

ThemeBurn SupportForumsOpenCart ThemesShoppica 2 OpenCart ThemeLimit Title Character number and add …

This topic has been marked as not resolved.

Hello, I would like to limit the product title in some modules, such as:
1. Best sellers
2. Also Bought

This is how it looks at the moment:

I want to limit it to 50 characters and add “…” at the end if there are more characters.
so a product title will be like:

Original: BMW Red color with leather seats.
After: BMW Red color with…

This is jus an example.

How to do this?

April 20, 2018 at 2:03 pm #64030


You can use the instructions from this post:

You can combine them with a custom class to target only chosen blocks:

.short_title_module .product-thumb h4 {
  height: 40px;
  overflow: hidden;

ThemeBurn team

April 30, 2018 at 10:07 am #64117
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.