IMPORTANT MESSAGE REGARDING THE FORUM

As you may already know, the JoomlaWorks Forum is powered by Kunena (the only decent forum component for Joomla).

Unfortunately, the latest update for Kunena has seemingly broken all code snippets (old and new) in the forum.

Until this message is removed, please paste any code as regular text - in other words, don't use the [code]...[/code] tags in Kunena's post editor.

Keyword

K2 Subcategory Link / Height Issues

  • conshelf
  • conshelf's Avatar Topic Author
  • Offline
  • New Member
More
2 weeks 3 days ago #179680 by conshelf
K2 Subcategory Link / Height Issues was created by conshelf
Hello,

I'm trying to add styling to the "View Products" text in the sub categories, looking to make it a button. The issue is, when I do, the button falls outside the category box.

It seems there is javascript handling the height of the box, but that link seems to fall out side the div. 

How can I fix this so I can add some space below the "View Products". Page with the issue is here .

Also, is there a way to control the amount of the subcategory text that gets truncated?

Kind regards,
John

 

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

  • conshelf
  • conshelf's Avatar Topic Author
  • Offline
  • New Member
More
2 weeks 3 days ago - 2 weeks 3 days ago #179681 by conshelf
Replied by conshelf on topic K2 Subcategory Link / Height Issues
Hello,

I resolved the truncated text issue I was having, I created a template override and updated the category.php file around line 104 to this: echo K2HelperUtilities::characterLimit($subCategory->description, 120

Would be great to have this as a setting in the "Display Settings" of the category.

Kind regards,
John
Last edit: 2 weeks 3 days ago by conshelf.

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

  • conshelf
  • conshelf's Avatar Topic Author
  • Offline
  • New Member
More
1 week 6 days ago #179687 by conshelf
Replied by conshelf on topic K2 Subcategory Link / Height Issues
Hello,

I have tried different images heights and different text amounts, but no matter what is done the "View Products" link still falls outside of the main div.

See attachments.

Kind regards,
John

 
Attachments:

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


Powered by Kunena Forum