Customize WordPress Emoticons with Pure CSS and jQuery

September 21, 2010  | 
Leave a comment

Ever wanted to customize the default WordPress emoticons to match your website? Changing out the icon set is a possibility, but you still need to hunt for one that will compliment your site’s design. Why not design your own emoticons using CSS?

The new Pure-CSS Emoticons plugin lets you do that by harnessing the power of CSS3. It overrides WordPress’ default icons and outputs a new set based on CSS. At first glance they look like images, but they’re actually pure CSS and entirely customizable. This means that you can change their colors, box-shadow, gradients, and much more – all within the CSS file!

Browser Notes:

This plugin uses the CSS3 properties, including transform, border-radius, box-shadow, gradient, and transition, when supported by your browser. It is important to note that the emoticons work with FireFox, Chrome, Safari, and Opera. They also work on the iPhone and Android phone browsers, including the animations. In Internet Explorer the emoticons will simply appear as the original textual emoticons. Don’t worry, IE is bound to catch up someday.

Why use CSS for emoticons instead of images?

There are solid benefits to be gained from using pure CSS emoticons. Steve Schwartz of Alpha Jango, who inspired the Pure-CSS Emoticons plugin, lists the benefits as such:

  • Keeps text markup semantic (plugin only wraps textual emoticons in a single element).
  • Retains original text, as typed, for copy/paste and page indexing.
  • Automatically sizes to fit the text. No need for multiple emoticon image sets of varying sizes.
  • Does not break the line-height of paragraphs like most of the image-replacement methods.

The Pure-CSS Emoticons plugin allows you to select which part of your site you want to apply them to – posts or pages. It also shows you a preview of your emoticons based on the CSS file. When mousing over an emoticon, it will turn to the left, showing you what text was inputed to achieve that particular face.

Have a look at the demo of these emoticons in action if you want to check them out before installing the plugin. It’s the little things that make your site beautiful. Your users will appreciate your attention to detail and the unique emoticons will make a subtle impression.

Featured Plugin - Turn any WordPress page into a fully featured wiki!

To get a wiki up and running you used to need to install Mediawiki and toil away for days configuring it... not any more! This plugin gives you *all* the functionality you want from a wiki, in WordPress!!!
Find out more

Featured Plugin - WordPress + Google Maps = Perfect

Simply insert google maps into posts, sidebars and pages - show directions, streetview, provide image overlays and do it all from a simple button and comprehensive widget.
Find out more

Featured Plugin - Start Your Own Powerful Membership Site

If you're thinking about starting a paid, or just private, membership site then this is truly the plugin you've been looking for. Easy to use, massively configurable and ready to go out of the box!
Find out more

Featured Plugin - Send beautiful html email newsletters, from WordPress!

Now there's no need to pay for a third party service to sign up, manage and send beautiful email newsletters to your subscriber base - this plugin has got the lot.
Find out more

Featured Plugin - Host sites, get paid, just like WordPress.com

If you've ever wondered how you could offer a paid site management and hosting service, then this is the plugin for you. Offer a freemium or paid service, for any niche you like, it's powered Edublogs.org to success already!
Find out more

Featured Plugin - Easily integrate your WordPress site with Facebook

Would you like to add Facebook comments, registration, 'Like' buttons and autoposting to your WP site? Well, The Ultimate Facebook plugin has got that all covered!
Find out more

Featured Plugin - Start your own Quora / StackOverflow / Yahoo Q&A site

It's now incredibly easy to start your own Q&A site using nothing more than WordPress - The Q&A plugin simply and brilliantly transforms any site, or page, into a perfect support or Q&A environment.
Find out more

Featured Plugin - Add bottom corner (or anywhere else) chat to your site

No javascript required, no third part chat engine, just fully featured chat right in your own database on your own WP sites - couldn't be easier.
Find out more

Featured Plugin - Every great SEO tweak you need, in one snazzy bundle

Fully integrated with the SEOMoz API, complete with automatic links, sitemaps and SEO optimization of your WordPress setup - this is the only plugin you need to help you rank your site number 1 on Google - nothing else compares.
Find out more
Click on a tab to select how you'd like to leave your comment

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting