Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

[Style] Clickable category icons

2»

Comments

  • You did all the work, I just wrapped it up like a present. Thank you.
  • A change was made to the css to correct the cutting off of the image at the top and bottom. This is courtesy of Ryan Taylor. The change is only to the stylesheet and is as follows in case you don't want to download the zip file again. Just add it to the top of the stylesheet.

    /*IE Fix*/
    #Categories li li {
    height:60px;
    }

    .CategoryDescription {
    margin-top:-40px;
    }

    /*Image overlap fix*/
    #Discussions li li {
    height:40px;
    }
    /**********************/

    Thanks for the correction Ryan.
  • Yeah, I didn't include an IE fix for that, good work.
  • There seems to be a compatibility problem with the Preview Post extension. I get this error when I try to preview a post with Category Icons enabled:
    Fatal error: Call to a member function on a non-object in ..\extensions\CategoryIcons\default.php on line 12
  • it would be nice as an extension. An icon field when u create categories.
  • I fixed this and uploaded version 1.0.2 of CategoryIcons. The icons only need to be displayed on the Discussions and Comments, not anywhere else.
  • Great job, it works fine now. Thanks a lot jimw :)
  • How do I have the Icons display for CATEGORIES but NOT DISCUSSIONS?
  • Icons are invisable but the links do work.

    I've used background-image: url in the catagory's body, could that cause a problem?

    Any help will be appreciated.

    David K.
    T-Shirt Magic
  • is there a menu option to change the category icon or is this all done manually by admin? I'm interested in being able to assign a new image upon creation of a new category.
  • @CAP492: that could be the problem. try removing your background-image and see if the icons display.

    @u2wedge: There is no admin to handle this. You have to edit the extension style.css.
This discussion has been closed.