jacobbjerring Posted February 2, 2018 Share Posted February 2, 2018 I know that there have been threads on this, but I can't seem to get any to work. It keeps taking me to my cover page (that is my landing page when u click on the domain but its an unlinked so it's not part of my navigation). Do you guys have any solution? Thank you. https://www.nfellows.agency @danieljs ? Link to comment
Jo_SQSP Posted February 2, 2018 Share Posted February 2, 2018 First, head to Design > Style Editor and make sure "Enable Ajax Loading" is unchecked. If Ajax is enabled, the code won't work. Then, head to Settings > Advanced > Code Injection and add the jQuery library to the Header section if it's not there already. You can add it by pasting this snippet in: <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> Below that, in the footer section, we'll add the snipped that changes the link destination by pasting in: <script> $("img[alt='N\'fellows']").parent().attr("href", "/collective/"); </script> Save your changes and test it out. Let me know how it goes. In the future, please don't tag other users in your questions. Thanks! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.