- Posts: 404
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED] How to limit introtext on multi-category menu page
[SOLVED] How to limit introtext on multi-category menu page
- Odin Mayland
- Offline
- Platinum Member
Less
More
10 years 4 months ago - 10 years 4 months ago #101167
by Odin Mayland
Replied by Odin Mayland on topic Re: How to limit introtext on multi-category menu page
Mohamed,
Thanks for this!
I would prefer to use an override but am not sure the path. Does this look right?
/templates/TEMPLATENAME/html/mod_k2_tools/helper.php
AND
This code works for some but not all the catTitle.
example of site under construction
Thanks for this!
I would prefer to use an override but am not sure the path. Does this look right?
/templates/TEMPLATENAME/html/mod_k2_tools/helper.php
AND
This code works for some but not all the catTitle.
example of site under construction
Attachment not found
Please Log in or Create an account to join the conversation.
- Mohamed Abdelaziz
- Offline
- Platinum Member
- Joomla Developer
10 years 4 months ago #101168
by Mohamed Abdelaziz
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
Replied by Mohamed Abdelaziz on topic Re: How to limit introtext on multi-category menu page
Try to decrease the value of $catTitleLimit
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
Please Log in or Create an account to join the conversation.
- Odin Mayland
- Offline
- Platinum Member
Less
More
- Posts: 404
10 years 4 months ago #101169
by Odin Mayland
Replied by Odin Mayland on topic Re: How to limit introtext on multi-category menu page
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 4 months ago - 10 years 4 months ago #101170
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: How to limit introtext on multi-category menu page
The no-wrap attribute of .catlistmenu .catTitle causes this. But you have to specify a smaller limit as well.
PS. you can do the same with CSS as well.
text-overflow: ellipsis will do the trick.
PS. you can do the same with CSS as well.
text-overflow: ellipsis will do the trick.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Odin Mayland
- Offline
- Platinum Member
Less
More
- Posts: 404
10 years 4 months ago #101171
by Odin Mayland
Replied by Odin Mayland on topic Re: How to limit introtext on multi-category menu page
text-overflow: ellipsis was the answer!
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED] How to limit introtext on multi-category menu page