Isha Posted July 29, 2020 Share Posted July 29, 2020 Does anyone know for the theme Hawley, using the Hover: Follow Cursor effect for the portfolio titles to create an effect similar to this fiddle? I'm not sure which class ID's to use and where to insert the javascript code. Thank you in advance! Link to comment
tuanphan Posted August 24, 2020 Share Posted August 24, 2020 Try adding to Code Injection Header <style> .logo{ position: absolute; } </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).mousemove(function(e) { var logo ='<img class="logo" src="http://res2.windows.microsoft.com/resbox/fr/6.2/2012-Win8GA/0bcd7119-71c3-45e5-a778-af78f355f459_4.jpg" alt="Google">'; $("body").append( $(logo).clone().offset({ left: e.pageX, top: e.pageY + 20 }) ); }); </script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.