Why does my Wix anchor link scroll behind the header?
Quick answer
If the link reaches the right section but its heading disappears, the frozen header is covering the landing point. In Wix Studio, link to the section and leave room above its heading with top padding. In Wix Editor, you can drag an anchor marker above the heading. Use the header’s height after scrolling to decide how much space to leave.
On this page
Did the link reach the right section?
Click the link from another part of the page and let the scroll finish. If you see the correct paragraph, scroll slightly back up. A heading that emerges from under the header confirms an overlap. If the link lands at an entirely different section, changing the spacing will simply move the wrong content.
| After selecting the link | What to check |
|---|---|
| The correct section arrives, but its title is covered | Measure the visible header and adjust the clearance at the target. |
| A different section comes into view | Edit the link and check both its destination page and its named anchor. |
| The menu opens, but choosing this item does nothing | In Studio, select the target element and check that Add an anchor is enabled. Recheck that anchor in Manage Menu. |
Wix forum · A frozen header covers the top of the linked section
In Wix Studio, leave clearance inside the anchored section
Studio places a section anchor at its top edge. Put the heading inside that section and link to the section itself. An anchor attached directly to the heading will still take visitors to the heading’s own edge, even if you increase the padding around it.
- Select the destination section. Open the Inspector, expand Anchor and enable Add an anchor. Give it a name you can recognize, such as “pricing-section.”
- Edit the originating link to target that section’s named anchor. For a button, use its link control, select Anchor, then choose the destination page and anchor.
- Select the destination section again. In the Inspector’s Layout controls, edit its top padding independently of the other sides. Preview the jump and adjust until the entire heading clears the header.
For example, suppose the frozen header is 64 px tall at the affected width. You want 12 px between the header and the heading when the scroll ends. Aim for 76 px from the anchored section’s top edge to the heading. If it already has 24 px of top padding and no other spacing, change that value to 76 px. Adding another 76 px would leave a much larger gap.
In Wix Editor, move the anchor above the heading
In the desktop editor, select the named anchor marker on the destination page. Drag it upward until there is enough space between the marker and the heading for the frozen header. Preview the page, click the original menu item and read the whole heading. Move the marker a little farther only if the first line still sits underneath the header.
If you linked directly to a section, the link follows that section. To use an independent marker, add an Anchor under Menu & Anchor in the Add Elements panel, place it above the heading, and change the menu item or button to point to that anchor.
Sources for this section (1)
Why does the link work on desktop but miss on mobile?
Check the mobile header in its scrolled state. A desktop header that takes up 76 px may collapse to a much shorter bar on a phone. Applying the same clearance can leave an awkward blank band. In Studio, inspect the anchored section at the failing breakpoint and adjust its top padding for the clearance you actually need.
- Start above the section and use the link. Once the page settles, check that the whole heading and its first line of content are visible.
- Start below the same section and follow the same link back up. A header that changes behavior with scroll direction can take up a different amount of space.
- Repeat at desktop and phone widths. If the mobile menu opens over the page, choose the destination through that menu as a visitor would.
In Wix Editor, if the mobile link is missing altogether, check Hidden on Mobile for the anchor and show it. Classic in-page menus are hidden on mobile. To offer that destination on a phone, add an anchor link to the site menu from the desktop editor.
If tapping the phone’s menu icon never opens the panel, troubleshoot the Wix mobile menu button.
