I'm trying to add tabs into my Craft Site and have just noticed that when you add an anchor point, the anchor ID doesn't actually show up in the URL as it would a normal site, however I need this anchor to be able to target certain tabs in the menu.

Is there a way or plugin that forces to anchor to be added to the url?





1 Answer 1


Craft CMS does absolutely nothing to your front end code, and there's literally nothing in Craft that would make anchor links – i.e. <a href="/tabs#anchor1">Click</a> – in your front end markup behave in any other way than normal.

The error is probably somewhere in your front end code (either in your Twig/markup or possibly in your JavaScript).

  • Afraid I haven't added any javascript in at this point, my markup is exactly how you've just laid it out there which is why I can't understand why it doesn't show
    – Amy
    Commented Feb 2, 2018 at 11:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.