Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
sobrenome Posted July 16, 2015 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.
Ralf Herrmann Posted July 16, 2015 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.
sobrenome Posted July 16, 2015 Author Posted July 16, 2015 Thanks! How to access the categories ID and how to generate them on the template?
Ralf Herrmann Posted July 16, 2015 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.