Home › Forums › Support › Add masonry box hover effect This topic has 3 replies, 3 voices, and was last updated 4 years, 4 months ago by Jorge. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts January 25, 2015 at 6:40 pm #68773 E Mate Hey there, just a suggestion, would it be possible to add a hover effect on the whole masonry box, a slow enlargement effect whenever you hover over a certain post. Cheers! EMATE.co January 25, 2015 at 6:40 pm #68774 E Mate https://EMATE.co January 26, 2015 at 10:42 am #68966 TomLead Developer Lead Developer Hi there, You could potentially do something using some custom javascript. Something like this added to the wp_footer section of GP Hooks may work (untested): <script> jQuery(document).ready(function($) { $( ".masonry-post" ).hover( function() { $( this ).css( 'transform', 'scale(1.1)' ); }, function() { $( this ).css( 'transform', 'scale(101)' ); } ); }); </script> May 25, 2019 at 7:01 pm #910893 Jorge Here’s the trick GP guys have found out to solve it 🙂 https://docs.generatepress.com/article/add-a-zoom-effect-on-hover-to-post-images/ Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In