Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Is there a plugin which enables individual images / icons for categories?
Im looking to see if there is a plugin or a way to make each category have their own individual category icon.
For example,
(Apple Logo) Apple
(Blackberry Logo) Blackberry
(HTC Logo) HTC
Anyone know of any info?
Thanks
For example,
(Apple Logo) Apple
(Blackberry Logo) Blackberry
(HTC Logo) HTC
Anyone know of any info?
Thanks
Tagged:
0
Answers
Make in your template a custom
/themes/mytheme/views/categories/discussions.php
Find the div with class : CategoryBox
Add a data-info attribute to it:
data-info="CategoryID<?php echo $Category->CategoryID; ?>"
Now that looks like:
This will add the number of the category like data-info="CategoryID_13"
-------------
Now add CSS
For example :
div[data-info~="CategoryID_1"] {margin-left: 2px; border-left: 2px solid red; }
will give a red strip on the left of the DIV
Change CSS to your needs.
Cheers
This would ease things because then you could style all children in one time...
There was an error rendering this rich post.
As in what shall I use for starting point for discussions.php ?
Thanks in advance.