Wix helpSite editor

Why does my Wix anchor link scroll behind the header?

Updated 2 min read

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.

Where does the anchor link take you?

Leave clearance inside the section

Check that the link targets the section itself. Measure the header after scrolling, then adjust the section’s top padding so the heading clears it.

Set the Studio landing position

Move the anchor marker up

Select the named marker on the destination page and move it above the heading. Allow enough space for the visible frozen header.

Reposition the anchor marker

Inspect the link destination

Check the destination page and named anchor on the menu item or button. Watch which paragraph appears when the scroll finishes.

Check the link destination

Check the header at phone width

Test the mobile header after the page scrolls. A shorter bar can leave too much clearance, while a taller one can cover the heading.

Check the mobile landing
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.

Match the landing behavior to the setting
After selecting the linkWhat to check
The correct section arrives, but its title is coveredMeasure the visible header and adjust the clearance at the target.
A different section comes into viewEdit the link and check both its destination page and its named anchor.
The menu opens, but choosing this item does nothingIn 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

Sources for this section (3)

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.

  1. 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.”
  2. 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.
  3. 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.

Wix forum · Section padding as clearance for a frozen menu

Sources for this section (3)

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.

  1. 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.
  2. 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.
  3. 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.

Sources for this section (3)