TomS43 Posted February 27 Share Posted February 27 Hey guys, I am trying to unlink a page in the projects page and hoping someone can help. Basically they are 'coming soon' so I want the hover to still work but I don't want people to be able to click through to the blank page. Thanks for any hep in advance https://garlic-clavichord-wjwl.squarespace.com/projects PW: maho Link to comment
Solution tuanphan Posted March 5 Solution Share Posted March 5 Add this to Settings > Advanced > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script> <script> jQuery(document).ready(function($){ $('div#gridThumbs a.grid-item:nth-child(n+4)').removeAttr('href'); }) </script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
TomS43 Posted March 6 Author Share Posted March 6 @tuanphan you are a legend! thank you Link to comment
TomS43 Posted March 6 Author Share Posted March 6 Just for the future, what part of that code specifies which thumbnail it turns the link off too? Link to comment
tuanphan Posted March 8 Share Posted March 8 (edited) Each project will have a link. The link is specified by the attribute: href The code will remove href attribute and nth-child(n+4) will target item 4, 5, 6.. Edited March 8 by tuanphan Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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