Xenforo Replacing Attachment Icon

Discussion in 'Guides, Tips & Tricks' started by Shelley, Nov 14, 2011.

    Shelley Designer

    Gender:
    Female
    Score:
    +454 / 11 / -3
    Summary: A small tip to change your attachment icon which pulls the page.png icon and in my mind doesn't convey very well of a download image. You can easily paste the folling and use a custom image (in this example) I simply used a diskette icon i designed though you can easily choose an icon to your preference.

    Install: first upload your icon titled "download" and upload it to the /icons folder. Then paste the following into your EXTRA.css template. Ive attached the icon i'm using here which you are more than free to use and as time permits, I'll post other coloured variations of the diskette icon.

    Code:
    .attachment .thumbnail .genericAttachment {
        background: url("@imagePath/xenforo/icons/download.png") no-repeat scroll 0 0 transparent !important;
    }
    

    Below is a screenshot though I know the description is self explantory but it always nice to post screenshots. :p

    [IMG]
    attachment---icon-screensho.png

    Attached Files:

Share This Page