Close

Characters Shown Length?

JayC
8 years ago
#9816 Quote
Avatar
  • 14
Is there a way to increase the amount of characters shown in the title or the description? Perhaps adding CSS somewhere?

Thanks
Peter.Zhekov
8 years ago
#9819 Quote
Avatar
  • Moderator
  • 104
JayC wrote:
Is there a way to increase the amount of characters shown in the title or the description? Perhaps adding CSS somewhere?

Thanks


Hi Jay,
You are right!
You can manage the title and description in the carousel by adding the following styles in the 'JCarousel.css' file:

.nop-jcarousel .jcarousel-item .short-description {
    max-height: 30px;
}
.nop-jcarousel .jcarousel-product-name {
    max-height: 20px;
}


The first selector is for the 'short description' and the second one is for the 'title/product name'. You need to test and choose value which works for you (it is not necessary to use the values 20 and 30 pixels because it might not look good).
Regards,
Peter Zhekov
Nop-Templates.com