One suggestion: add a slash before the pound sign in the submenu link. For example, instead of using this address:
https://jessicaeade.com/employment#bdo_darts
use this address:
https://jessicaeade.com/employment/#bdo_darts
That way the browser won’t reload the page, it will just jump to the right spot.
]]>I experimented with different browsers and operating systems across different logins with mixed results. Some worked as I wanted, but some still jumped.
Thank you so much CrouchingBruin for your suggestion of adding a forward slash to the custom links, that is absolutely so much better! Unfortunately though it still seems to be very hit and miss as to whether the page stays in the correct place once the sub menu has been selected. The problematic submenus are bt sport, bdo darts, prized apart, and strebel. In particular at the moment; bdo darts seems to be jumping to bt sport.
Hi Joy, do you know where I can find a link to the sydney theme help forum? I searched for it, and might have found it but couldn’t see an option to create a new post.
Not sure how to add a screenshot here Code Explorer but here it is on my website https://www.jessicaeade.com/html-anchors-jumping-help/. This was the result when I clicked on Strebel. Admittedly part of the section is obscured by the black bar that is present when one is logged into wordpress but I think it’s still jumping to halfway through an incorrect menu after first jumping to the correct one. Another description would be that it jumps twice even though I only click once (if that’s any help :/ )
]]>Change this:
<a name="bdo_darts"></a>
to this:
<a id="bdo_darts"></a>
One interesting thing that I’ve noticed, too, is that on Firefox, the menu gets fixed at the top when scrolling down the page, but in Chrome, it doesn’t.
]]>