I love smilies. I mean, just take a look at these two happy fellows.
They look pretty happy, right? I think they’d look a lot happier if they didn’t have the same background color and padding as the rest of the images in my theme though. Don’t you? Make sure you’re adding something like the following to your theme stylesheet somewhere after your main image styles. This is a good start for resetting the existing image styles you might have.
img.wp-smiley { background: transparent; border: none; margin: 0; padding: 0; }
Do that in your WordPress themes and you’re all set. š
Hmmm. No.
Oh, I like the trick. And it is definitely a good idea if you leave them on to have them display correctly.
However, the best way to solve the background problem is to turn them off
The world is a sadder, less yellow, place with graphic emoticons turned off.
Killjoy š
Ha ha. That is a nice trick. š
Thanks for the tip … especially since I’ve been working on updating a theme that is undergoing lots of updates.
Neat little tid-bit. If you ask me though, 15% of the websites on the web are in dire need for a new (creative commons) set of smileys. How about a contest? (crowdsource style)
Thanks for this tip. Keep it up.
Great trick to make transparent smilies!
I had to think about coloring them all with my background (I`m new to wordpress), but this tip saved me alot of troubles, i appreciate it.
Thanks for this info. š Keep it up!
Great post! My WordPress is now smiling. š
Graphics always matter and give an attractive look to your content. Thanks for sharing.
LOL! What a very cute graphic.. Want to try it on my WordPress blog š
Yes I think the same thing, that’s a cute graphic.
Haha, I think this is something that I’ve really lacked in my WP site. Nice trick, you’re the best.