I have a button layer that appears off-center on page load, but “snaps” back into place after the page is resized. I have ensured that the button layer is centered in the layer settings. This only happens for a button that appears on the mobile breakpoint and below, which is set at 480px.
I have two buttons above the mobile breakpoint that both work with no issues. I tried to duplicate one of those and apply the positioning for the mobile button, but that didn’t work.
I’ve tried the global setting for making the JS load in the footer, and that didn’t work either.
Any help would be appreciated, I can provide more information if necessary.
Before page resize:
After page resize: