KTarman Posted August 13 Share Posted August 13 Hello! I love the grid overlay in portfolios, but I do not want each picture to be clickable and have its own separate page. I want to keep the hover/overlay. What code should I use and where do I insert that code? Thank you! Link to comment
tuanphan Posted August 15 Share Posted August 15 You can use this to Website Tools > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> jQuery(document).ready(function($){ $('a.grid-item').removeAttr('href'); }); </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
Create an account or sign in to comment
You need to be a member in order to leave a comment