makennaokeeffe Posted April 1, 2022 Share Posted April 1, 2022 (edited) Hello forum! I'm having difficulty with an anchor link I'm using in one of my navigation buttons. It works perfectly when you click the nav button on the home page, which is where the site anchored section is. But from every other page, it doesn't work. It should take you back to the home page and to the section where the anchor link is, but when you click it, it just stays on the page you're already on but adds the name of the anchor link to the URL slug. 😕 I've tried a few different code options out and nothing is working. Please advise! What am I doing wrong? 😬 Edited April 1, 2022 by makennaokeeffe Link to comment
tuanphan Posted April 1, 2022 Share Posted April 1, 2022 Hi, If you added anchor link, for example Quote #about-example-anchorlink then you need to change it to ( I added / to before of anchor url) Quote /#about-example-anchorlink makennaokeeffe 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) 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