Category icons

Pilky's Avatar

Pilky

04 Dec, 2008 07:30 PM

It'd be nice to be able to edit the icon for a category from admin panel so that we can use our own category icons (either upload or link to them).

  1. 1 Posted by Kyle Neath (Git... on 05 Dec, 2008 07:46 PM

    Kyle Neath (GitHub Staff) 's Avatar

    You can do this through CSS (that's how they're there right now). Each category applies a class with the permalink of the category in it. So a category with a permalink foo can have a custom icon using the following css:

    table.discussion-listing .foo td.icon .marker{
      background-image:url(http://example.com/image.gif); 
    }
    

Discussions are closed to public comments.
If you need help with Tender please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac