Hello, any advice would be much appreciated.
I thought I’d use the new ‘Top Navigation Bar’ block instead of the ‘Auto-Nav’ block for my site menu.
However I want to have some links in the menu that are just anchors to scroll to a part of the current page eg #mydiv.
If I just add an external link in the site map this works fine when using the ‘Auto-Nav’ block. However when I use the ‘Top Navigation Bar’ block the link generated includes the whole site path. Therefore the page is refreshed when clicking the link.
‘Auto-Nav’ block
<li class=""><a href="#ToMe" target="_self" class="">ToMe</a></li>
‘Top Navigation Bar’ block
<li class="nav-item"><a class="nav-link" target="_self" href="http://localhost:8888/site.co.uk#ToMe">ToMe</a></li>
Is there anyway to make the ‘Top Navigation Bar’ block output just what is entered in the external link field?
Many thanks