Wellbeingcampus Posted March 3, 2021 Share Posted March 3, 2021 Site URL: https://wellbeingcampus.com.au I would like to make the navigation title clickable and not repeated i.e. Folder Title, then first link = same. I have gone through previous answers, and none of the solutions are working for me. I have just upgraded my account but that didn't solve the problem either. The result I am after is that Mental Health First Aid (the heading) points to the Mental Health First Aid page. Link to comment
creedon Posted March 3, 2021 Share Posted March 3, 2021 Please see the following. In the main script you would need to change the following lines... 'music-lovers' : '/community', // last or only item doesn't get a comma at end of line 'artists' : '/services' ...to... // last or only item doesn't get a comma at end of line 'mhfa' : '/mental-health-first-aid' Let us know how it goes. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Wellbeingcampus Posted March 3, 2021 Author Share Posted March 3, 2021 Thank you. But I must be missing something because it's not clickable still. Link to comment
Wellbeingcampus Posted March 3, 2021 Author Share Posted March 3, 2021 Quote @creedon I've played around with the suggestions above, but still can't seen to get it to work. Any ideas? Link to comment
creedon Posted March 3, 2021 Share Posted March 3, 2021 The code you changed doesn't match exactly what I showed you to change it to. Make it the same and it should work. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Wellbeingcampus Posted March 4, 2021 Author Share Posted March 4, 2021 @creedon Thank you. But when I do exactly as mention the title has disappeared. Link to comment
creedon Posted March 4, 2021 Share Posted March 4, 2021 Well that isn't good! Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
creedon Posted March 4, 2021 Share Posted March 4, 2021 I just tested the following code here locally on your site and it worked a treat. Code removed. Please see cited post. No need to edit this one. Just copy and paste into Code Injection > FOOTER. Per previous instructions. If it makes the menu title disappear, view your site in Incognito mode. To see if it is an issue with being in Preview. If the menu is OK but doesn't have the right link, leave the code in place so I can try to diagnose issue. Let us know how it goes. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Wellbeingcampus Posted March 21, 2021 Author Share Posted March 21, 2021 @creedon Thank you and sorry for the delay. I have tried the above. It makes the link clickable but the title disappears. I have tried this in incognito mode. I'm trying to have the title - Mental Health First Aid - linked to the page, and the second link ; Standard MHFA - and so on. So Mental Health First Aid is not repeated. Does that make sense? Gosh, who knew it would be this hard on Squarespace! Link to comment
creedon Posted March 21, 2021 Share Posted March 21, 2021 What you want makes perfect sense. However whenever I run the code it works great and I am unable to reproduce the disappearing text. One thing I did notice. Did you follow the step in the post to which I pointed, to install jQuery? Just now when I looked at your site jQuery is not installed. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Wellbeingcampus Posted March 22, 2021 Author Share Posted March 22, 2021 Thanks Creedon. When I was pasting the jQuery that's when the heading would disappear, but it's working now - YAY! Thank you for all your help! Link to comment
Wellbeingcampus Posted April 7, 2021 Author Share Posted April 7, 2021 @creedon Sorry, me again. For some reason, the code stopped working. I removed the footer code because it rendered the drop down box title invisible. 😞 Any ideas? Link to comment
creedon Posted April 8, 2021 Share Posted April 8, 2021 Every test I've done on your site and on my test site the code works. Others have used the code and it works for them. And apparently it worked sometimes for you. The code does not hide anything but it does replace an element. If there was a failure during the replace that could explain the navigation folder title disappearing. But again I've not seen a failure of this nature in all my testing. The only way I could possibly begin to diagnose the issue on your site would be to have the code in place and see it failing. I can't fix what I can't see. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Wellbeingcampus Posted April 14, 2021 Author Share Posted April 14, 2021 @creedon Thank you. I have injected the code and left it there for you to see........ Still having issues. Link to comment
creedon Posted April 15, 2021 Share Posted April 15, 2021 I've seen the failure. Now onto diagnosis! Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
creedon Posted April 15, 2021 Share Posted April 15, 2021 I have updated the code in my March 3 customized for you code post. Replace the previous code with the new code. Let us know how it goes. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Wellbeingcampus Posted April 26, 2021 Author Share Posted April 26, 2021 Thanks @creedon I can see now that the header is visible. But it's not clickable. Who knew it would be this hard! hahah Link to comment
creedon Posted April 27, 2021 Share Posted April 27, 2021 Actually the code worked great until SS changed their menu code just recently and my code broke. 😞 This is a downside of custom code it is generally fragile because it depends on SS code which we have no control over when and how they change their code. I'm in the process of trying to make the code work again. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
creedon Posted April 27, 2021 Share Posted April 27, 2021 I have updated the code in my March 3 customized for you code post. Replace the previous code with the new code. The folders should now be clickable again. Let us know how it goes. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.