I’m working on a local server. I’ll see if I can set this up tonight. There’s definitely something going on. I exported the template for this layout and imported it on a brand new site setup that only has Wordpress and pro 5.1.2 installed with no plugins. I verified that my ID tags are only used once each and I’m not getting any errors on the page. The first anchor link works, but the others do not. They are all set up the exact same way.
One thing I have noticed which I thought shouldn’t matter but maybe it does. It is forcing a slash into the link.
It should be
//site-url/page#anchor
Instead it forces it to
//site-url/page**/**#anchor
If I manually enter it, without the extra slash, directly into the address bar, it goes to the right spot for a second and then it adds the slash and moves to the wrong location.
The slash behavior is present in the one that works so it shouldn’t matter. The only other difference between that one and the others is the nesting, but that also shouldn’t matter.
For reference the nesting is:
<div id="anchor1"> </div>
<div> </div>
<div> </div>
<div>
<div id="anchor2"> </div>
<div id="anchor3"> </div>
<div id="anchor4"> </div>
</div>
Anchor1 is the only one in this structure that works.