Jump to content

Nav Links Unclickable

Go to solution Solved by Ziggy,

Recommended Posts

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

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!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
🔌
 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 Did I help? Buy me a coffee?

Link to comment
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

When I inspect the code I see class, underlined in yellow, that needs removing, hopefully should fix the error.

image.png.72dddc8d03653cdd66fa5dbfcd177215.png

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
🔌
 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 Did I help? Buy me a coffee?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.