Modify title lenght on front page modules

ThemeBurn SupportForumsOpenCart ThemesTechnopolis OpenCart ThemeModify title lenght on front page modules

This topic has been marked as resolved.

Hello
How can I modify the title length of products shown in modules latest, special, random products and most visited?
My titles are very long and it affects the way front page looks.
Thank you

December 9, 2017 at 1:26 pm #62818

Hello
Can anyone help me with this problem?
Thank you

December 16, 2017 at 10:48 pm #62878

Hi,

Can you please provide some more information? For the moment we are not able to fully understand your request. If appropriate, you can attach some screenshots to better illustrate, what exactly you mean.

We will also need a live example. Can you provide website url and admin access, so we can check?

You can use hidepost to share private information with the support staff.

BR,
ThemeBurn team

December 18, 2017 at 3:24 pm #62896

Hi

My product titles are very long and I would like that on the front page in the modules latest products, special products, random products and most visited to have shorter titles, lets say 100 characters.
Thank you.

December 18, 2017 at 3:51 pm #62912

Hi,

The easiest solution would be to limit the title height and hide the text that is outside of the title rectangle:

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

Add these styles from the Theme CP > Theme Settings > Custom > Custom Stylesheet text field.

BR,
ThemeBurn team

December 20, 2017 at 12:56 am #62945

Hello
Working.
Any possibility to have the price before the ad to cart button? Now its bellow,
Thank you

December 20, 2017 at 7:53 am #62950

Hi,

This extra CSS will change the place of the cart button and the price in product categories:

.product-thumb.tb_style_1 .caption + .clear + .row > .col:first-child {
  -webkit-order: 2;
          order: 2;
}

Add these styles from the Theme CP > Theme Settings > Custom > Custom Stylesheet text field.

BR,
ThemeBurn team

January 3, 2018 at 6:33 pm #62993

Hello
Can you fix it for home page modules also?
– latest products, special products, random products, most visited, featured products.
Thank you.

January 3, 2018 at 9:00 pm #62994

Hi,

We’ve modified the last code a bit. Please check it again.

BR,
ThemeBurn team

January 4, 2018 at 1:25 am #62995

Hi.
It works great.
Thank you.

January 4, 2018 at 10:21 am #62998

Glad we’ve helped, mate :)

BR,
ThemeBurn team

January 4, 2018 at 10:35 am #62999
Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.