Menu custom link not working for external site

I've got this header menu in my site (made editing a theme), but i've noticed that the custom links pointing at local anchor section (like #section) correctly navigate in the same page to the desired location, but an external link won't work, even if specifing "open in new tab". I suppose something is preventing the menu link to open, or worse, the external link is not supported in that theme. Since i'm noob, where should i look for the menu item/link opening behaviour? Would it be easy to modify such behaviour?

the menu element html is the following:

li id="menu-item-812" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-812 level-0"a class="menu-item-href" href="#societa"span class="line_wrap"span class="line"/spanL’Agenzia/span/a/li
a class="menu-item-href" href="#societa"span class="line_wrap"span class="line"/spanL’Agenzia/span/a

If i create an external link is the same, the url goes as www.google.com (for example) in the href.

Topic headers links menus Wordpress

Category Web


Resolved, i've manually added the "external" css class to menu link, as suggested here https://github.com/ChrisWojcik/single-page-nav/issues/1

Actually, that didn't work, the problem is still the page wich is intended to be single pag navigation, which is preventink external link from opening, because I think the smooth to-section movement is not coded for managing also external link

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.