DanteLavell Posted November 28, 2022 Share Posted November 28, 2022 I have a permanent side nav bar and now want to add links to it. Despite the information being coded correctly (if I right click to new tab it opens the correct destination), but the links are un-clickable even with me inputting destination openings ('_self' & '_blank'). Any advice? Site: https://www.dantelavell.com/home Current Code: <div class="nav-container"> <div class="nav"> <a href="#about">ABOUT</a> <a href="#projects">PROJECTS</a> <a href="#contact">CONTACT</a> <a href="/prints" target="_self">PRINTS</a> <a href="https://www.createavra.com/" target="_blank">AVRA</a> </div> Link to comment
Ziggy Posted November 28, 2022 Share Posted November 28, 2022 Hi @DanteLavell it looks like you have code that has TWO opening <div> and ONE closing </div>. This will cause errors on the page, and possibly be why your code isn't working. Add a second closing </div> and hopefully that solves your problem! DanteLavell 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
DanteLavell Posted November 28, 2022 Author Share Posted November 28, 2022 5 hours ago, Ziggy said: Hi @DanteLavell it looks like you have code that has TWO opening <div> and ONE closing </div>. This will cause errors on the page, and possibly be why your code isn't working. Add a second closing </div> and hopefully that solves your problem! Hi Ziggy! There was definitely a missing closing div but the links remain un-clickable :(. The ID (#) jumps work but the last two (page reference and external link) do not which has me soo confused. Link to comment
Solution Ziggy Posted November 28, 2022 Solution Share Posted November 28, 2022 When I inspect the code I see class, underlined in yellow, that needs removing, hopefully should fix the error. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? 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