Jump to content

Stacked Image Effect: Portfolio Hover

Recommended Posts

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
  • 4 weeks later...
  • Replies 1
  • Views 684
  • Created
  • Last Reply

Try adding to Code Injection Header

    position: absolute;
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></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">';
            left: e.pageX,
            top: e.pageY + 20


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


This topic is now archived and is closed to further replies.

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.