Is this possible using 2.1 Sprites plugin? I'm not sure how to use that plugin. Can I add my own custom icons to the top menu links (Home, Activity, Discussions,etc)?
I'm using 2.1 stable and Bootstrap theme.
you can add anything you want . Look at how the sprites plugin adds the sprites to other things.
Then you can use jquery to prepend each link with an icon or sprite. Then use css on that to make it look good.
You could also replace the links with icons
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
The Sprites plugin essentially just adds some CSS that styles existing markup in certain ways.
If you are the one spitting out the markup, check out the Sprite() function which takes a class and echos some markup that will automatically be picked up by the Sprites plugin.
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.