r/csshelp • • Jul 21 '10

How to implement trollface commenting?

Is there a way that this can be done in any sub reddit? When I tried to do the trollface commenting in a sub reddit that I mod, only a blank comment came up.

6 Upvotes

14 comments sorted by

View all comments

Show parent comments

2

u/E_lucas Jul 21 '10
  1. Post the css into the stylesheet menu

  2. Upload your image using the upload box below

  3. each image you upload will have its own "url" (it will looks like this:

    link: url(%%example%%) )

  4. copy the "url" into the " url(IMAGE.) ".

Your code should look something like this:

a[href="/troll"]:after {
content: url(%%trollface%%)
}

Hit the save button below the stylesheet box.

1

u/neoronin Jul 21 '10

OK. Did that, Pasted the code into the menu [looks exactly like above mentioned code] and saved. Now how do I get the image to appear on the comments.

I typed the following again a blank comment

1

u/E_lucas Jul 21 '10

If you temporarily make me a mod in whatever subreddit you're trying this in I could see what's going wrong.

1

u/[deleted] Jul 21 '10

http://www.reddit.com/r/india/stylesheet.css

It's the r/india subreddit he's asking for help in :D

0

u/[deleted] Jul 22 '10

[deleted]

1

u/E_lucas Jul 22 '10

He won't see the pic if he checks his orangered, he must be within this subreddit. Just sayin'