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.
CategoryIcons
CategoryIcons
0
Comments
It appears the extension isn't found by Vanilla's updater.
This can be fixed by changing the padding-left property of the class .DiscussionType in VaneaBlack's vanilla.css. The original value is 30px. Change it to 0px.
why? i made my icons 30x30px
http://bikes.contrecoups.com
Like so:
(Click to enlarge)
The numbering seems to be relative to the category ID, so having only one with the appropriate number fixes the single icon problem, but the padding remains for all the discussions on the page. Perhaps the padding wouldn't be necessary (or visible) if the icon was on the far right? How would I go about making it look like it does in the mockup?
.DiscussionCategory { width:60px !important; height:60px !important; padding:0; margin:0; text-indent:-9999px; position:absolute; top:4px; left:2px; /*change left to right if you want the image to the right*/ }
I am also uploading a new version today to eliminate the continual update of the config settings file.
/* Add paddings for the linked icons */ .CategoryDescription, .CategoryDiscussionCount, .CategoryOptions, #Discussions li ul{ padding-left:65px; }
You have to separate out the Discussions tags as follows and change the padding to 15px:
#Discussions li ul{ padding-left:15px; }
and place it before:
/*Image overlap fix*/ #Discussions li li { height:40px; } /**********************/
This will leave:
/* Add paddings for the linked icons */ .CategoryDescription, .CategoryDiscussionCount, .CategoryOptions { padding-left:65px; }
That should do it. In the next version, I'll separate these out to make it easier to maintain.
And, of course, this display will vary with theme.
Here: www.wonderbomb.com
Please, please help. I'm trying to get this thing going soon.