limit lenght of product name for special, bestseller etc (column boxes)

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart Themelimit lenght of product name for special, bestseller etc (column boxes)

This topic has been marked as not resolved.

hello. how can we limit the lenght of the product name for column boxes like best sellers, specials etc so it doesn’t go on several rows for long names? so we can have just one row of product name. similar like you did in product banner. you take part of the description and at the end there are 3 dots to fide the rest of the text? thanks

 Adyyda
August 20, 2011 at 6:01 pm #918
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
August 23, 2011 at 11:26 pm #1018

have tried with the css trick and no luck? no efect on long names

 Adyyda
August 23, 2011 at 11:59 pm #1020
 Adyyda
August 24, 2011 at 1:22 am #1024

have modified this

.s_item.s_size_1 h3,
.s_item.s_size_1 p,
.s_item.s_size_1 .s_rating_holder
{
  clear: none;
  margin: 0;
  font-size: 13px;
  position: relative;
  top: 10px;
  overflow: hidden;
  height: 15px !important;
}

and now is fine except that it has no … showing that is more text
have tried first to strip the string with php but didn’t find teh files that contained the value wich you indicated

  • This reply was modified 4652 days ago by  Adyyda.
 Adyyda
August 24, 2011 at 8:58 pm #1068

Hi,

Unfortunately, there is no way to put automatically at the end of the longer elements.

You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!

Best regards,
ThemeBurn team

August 28, 2011 at 1:01 pm #1156
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.