Connect with us

Wordpress Plugins

WordPress Code: Cursor Spotlight Effect

WordPress already comes with everything you need to share your content with the world. You don’t always need super fancy plugins to enhance its capabilities. For instance, you can write a simple function to improve readability on your website with a cursor spotlight effect.  So what does this do? It creates a flashlight effect that follows you around the page. Everything outside the mouse cursor is dimmed to 30%.

🖖 KnownHost: super reliable Dedicated, VPS, Cloud & Shared hosting for WordPress, online communities & social networks

Just add this to your functions.php, and you are set. It is possible to change the size of the highlighted sections, speed, and other settings with small modifications.

Continue Reading
You may want to check out:
*some of our articles and lists include affiliate links to fund our operations (e.g. Amazon, Elegant Themes, Envato). Please read our disclaimer on how we fund Exxponent.
You may also like...
Click to comment

Leave a Reply

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

More in Wordpress Plugins

To Top