Anchor link question

Hi guys,
I am using some anchor links in the website menu (kontakt, talare, program) and it´s working fine at the frontpage. But if i am standing in a subpage, the “jump” end up in the wrong spot.

Website: http://what-works.se/
Subpage: http://what-works.se/om-oss/

What did i do wrong?

I am susing BB-theme and BB-plugin.

Hi Thomas,

The #kontakt allows you to navigate to an element that uses the same ID on that page. As your sub-page has no such element, nothing will happen.

Therefore, you will need to replace #kontakt in the Menu URL option via WordPress Admin Dashboard > Appearance > Menu with http://what-works.se/#kontakt. You will need to do this for all menus that navigate to an element on your homepage.

Thanks,
Danny

Hi Danny,
Thanks for the swift reply.
However, i am allready using the full url in the menu as you suggested.

Hi Thomas,

Is it possible for you to provide temp admin access, please?

Thanks,
Danny

[Content Hidden]

Hey Thomas,

So the problem here is that our smooth scroll function has a default offset value of 100. This is the reason why when you smooth scroll to that section, there is an extra space on top of your padding/margin. Unfortunately, when you visit that link from another page, or when you visit it manually with the hashtag, the browser takes over and we lose control, i.e., the offset won’t take place.

What you can do for now is, you can set that offset to zero(check the link below), then add additional spacing on top of your sections. Or perhaps add a blank row on top of each section and target that instead.
http://forum.wpbeaverbuilder.com/knowledge-base/smooth-scrolling-buttons-icons-and-links/

Ben

Thanks Ben.
Much appricated!

No worries at all, Thomas! Glad we could help. :slight_smile:

Enjoy BB!

Ben