Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Category Image

Ehy Guys, I have one question: There is a plugin that puts an icon next to the category name?? Like a classic forum software. Tanks. Sorry for my english but I italian.

Comments

  • Options
    whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    There isn't a plugin, afaIk, but there is a possible answer here:

    http://www.vanillaforums.org/discussion/16337

  • Options
    KasperKasper Scholar of the Bits Copenhagen Vanilla Staff
    edited July 2012

    ...uhm, here: http://vanillaforums.org/addon/categoryimageheader-plugin. This is for category headers though, but it can be rewritten to work in other places too.

    Another possible solution is using CSS, if you want to add an icon to the sidepanel:

    .PanelCategories a[href*="some-category"] {
        // Add your icon here using the background-image,
        // background-position and padding properties
    }
    

    This utilizes the CSS attribute selector to select the link that contains a specific category in its href attribute. You can edit it to include other elements than the sidepanel though.

    Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub

  • Options
    422422 Developer MVP

    If you know category id, then you could fire like kaspers suggestion but target the #

    There was an error rendering this rich post.

Sign In or Register to comment.