sobrenome Posted July 16, 2015 Share Posted July 16, 2015 Forums has the built in option to be related to a image as icon: 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. Link to comment Share on other sites More sharing options...
Ralf Herrmann Posted July 16, 2015 Share Posted July 16, 2015 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. Link to comment Share on other sites More sharing options...
sobrenome Posted July 16, 2015 Author Share Posted July 16, 2015 Thanks! How to access the categories ID and how to generate them on the template? Link to comment Share on other sites More sharing options...
Ralf Herrmann Posted July 16, 2015 Share Posted July 16, 2015 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. Link to comment Share on other sites More sharing options...
sobrenome Posted July 16, 2015 Author Share Posted July 16, 2015 Thanks a lot @Ralf Herrmann!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.