Keyword

title limit in k2 content module

More
10 years 3 months ago #129805 by rxyz
title limit in k2 content module was created by rxyz
Hi,
I have made a online newspaper site : www.desherkhobor.com/
There I used k2 content module for "hot news" & "latest news"
But I couldn't control/limit the news title. I need to limit the news (item) title because some item's title is too long. So it take a good space in the module position. Also User couldn't understand the end of news title
Actually, I need to limit only the title of k2 content module
Plz Sir/madam help me to limit title..
Thanks....

Attachment not found

Attachments:

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 3 months ago #129806 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: title limit in k2 content module
By default there is no setting for this.
You have to do this using CSS.

Adding these values to the title's class will do the trick.

display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum