Hi all,
My site uses the Quark Theme with Grav version 2.1.12.
I am experiencing an issue on desktop browsers where the home page automatically scrolls down to a specific modular section upon loading, rather than staying at the top of the page.
Interestingly, this issue only occurs on desktop browsers—where modular sub-pages are linked directly in the top navigation bar. On mobile, which uses a collapsible hamburger menu containing only parent pages, the page loads normally at the top.
A few key details:
-
The URL does not contain an anchor/hash tag (e.g.
#section-name). -
Clicking the site logo reloads the page, but it immediately scrolls back down to the modular section.
-
On a large desktop monitor, it jumps to one specific modular section, whilst on a MacBook Air, it jumps to a different modular section (though consistent per device/screen size).
-
Cloudflare Rocket Loader is disabled, and caches have been cleared.
-
I tried deleting and recreating the target modular page, but the behaviour persists.
I came across suggestions mentioning autofocus, but I am not familiar with where to find or disable this setting in Admin > Pages.