Anchor links are not working correctly WordPress. What to do?
Good afternoon. There is a problem with anchor links in menu. Links listed as follows example.com/#anchor to be able to move the same with other pages. When you hover over the link, it is displayed correctly. But when you click on the link a page example.com/#_anchor
Perhaps because of this, but all the links in the menu bar candlestick simultaneously, which looks weird.
If you use the links in the format #anchor, that is without specifying the domain name, everything works correctly. But in this case it is impossible to go to the main page from the secondary, as the anchor is simply added to the page.