Jump to content

Pages Category Icon


sobrenome

Recommended Posts

Posted

Forums has the built in option to be related to a image as icon:

icon.thumb.gif.779b214fbec937d071fb2ae7f

Is there a similar setting on Pages for categories? 

If there is not, how is the best way to achieve it?

I think that this option should be added to Pages.

Thanks.

Posted

Is there a similar setting on Pages for categories? 

Not yet, but thanks for the suggestion.

 

You can override the the default icons in the custom.css like so:

.cForumRow [data-categoryid="xxx"] .ipsItemStatus > .fa:before {
   content: "yyy";
}

Replace xxx with the id of the category and yyy with the the encoded font awesome glyph you want to use. 

Posted

Thanks!

How to access the categories ID ?

You see them in the ACP in the URL when you hover over the edit button of the category.
No need to change anything in the template. The above CSS code will work with the default category listing page. 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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