Jump to content

Pages - Category Logos/Icons


Scoobs
 Share

Recommended Posts

If someone needs a quick solution for this, it can be done manually in the template:

{{if $category->_id == '1' }} 
<i class="fa fa-user"></i>

{{elseif $category->_id == '2'}}
<i class="fa fa-building-o"></i>

{{elseif $category->_id == '3'}} 
<i class="fa fa-calendar"></i>

...

{{else}}
<i class="fa fa-info"></i>
{{endif}}

 

​nice one. One thing: my id's start with 11, to 14

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...