ID anchor problems in custom menu

Hello,

My website has a nav bar with Contacts and when i click it scrolls to the end of homepage, where this information is.
But, this link only works if i’m on the homepage… if i’m in page About, for example, and i want to access to Contacts throught the nav bar, it doesn’t work. I saw it on the demo working, so whats the problem? I’m using a Custom Link with URL #contact-us.

Thanks.

Hello there,

I hope you are doing well today.

Could you please provide a link to your website so that I can inspect it?

Best Regards,
Support

Hi, thanks for your reply.
I think i can’t sent you a link because my website is still on localhost, but i’m sending you a screenshot, don’t know if it helps.

Hello there,

Thanks for that information.

Please try using the url structure “https://colorlib.com/illdy/#contact-us” as the URL instead of just “#contact-us”, that way the link will always go to the home page.

Best Regards,
Support