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: https://imgur.com/a/P0wdBM0
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?
Thanks
|
|
Hi,
You can use the instructions from this post:
http://support.themeburn.com/topic/modify-title-lenght-on-front-page-modules#post-62945
You can combine them with a custom class to target only chosen blocks:
.short_title_module .product-thumb h4 {
height: 40px;
overflow: hidden;
}
BR,
ThemeBurn team
|
|