## **🔍 Overview**

If you've hidden the navigation menu or made other edits to your site's header in Website Studio, you may notice that those changes look correct in preview but revert to the original state after publishing. This is a known behaviour related to how the **shared header component** is published across your site, and there are clear steps you can follow to resolve it.

## **⚙️ Why This Happens**

Your site's header in Website Studio is a **shared component** — meaning it exists once and is applied globally across every page. Because of this, edits to the header must be saved and published in a specific way. If the correct workflow is not followed, the platform may publish the page content without carrying over the header changes, causing them to appear to revert.

Common reasons this occurs include:

- Publishing an individual page instead of the shared header component separately.
- Saving edits locally in the editor without triggering a full site publish.
- A build error occurring silently in the background, which causes the latest header version to not be applied.

## **✅ How to Publish Header Changes Correctly**

Follow these steps to make sure your header edits — such as hiding the navigation menu on specific pages — are saved and published successfully.

1. **Open Website Studio** and navigate to the page where you made your header edits.
2. In the editor, locate the **header component**. It will typically be labelled as a shared or global element.
3. Make your desired changes (for example, toggling the navigation menu visibility).
4. **Save your changes** using the Save button within the header component editor — do not just save the page.
5. After saving, click **Publish** from the top toolbar. Ensure you are publishing the **entire site**, not just the individual page.
6. Wait for the publish process to complete fully. A success confirmation message should appear. Do not close the tab or navigate away during this step.
7. Once published, **open your live site in a new browser tab** (not the preview) to verify the changes are live.

## **💡 Tips to Avoid This Issue**

- **Always publish the full site** after editing any shared component, including the header or footer.
- **Do not rely on preview alone** to confirm shared component changes — preview may show edits that have not been fully committed to the build.
- If the publish button appears greyed out or unresponsive after editing the header, try refreshing the editor and re-applying your changes before publishing again.
- Clear your browser cache before checking the live site to make sure you are not viewing a cached version of the old header.

## **🚨 If the Publish Fails or Changes Still Revert**

In some cases, a build error may occur in the background without a visible error message being shown. If your header changes continue to revert after following the steps above, try the following:

1. Refresh Website Studio and re-open the header component editor.
2. Re-apply your changes from scratch rather than assuming the previous edits were saved.
3. Publish the site again and watch the publish progress bar to confirm it completes without interruption.
4. If you see any error banner or the publish does not complete, take a screenshot of the message for reference.

If you need further assistance, open the chat widget in the bottom-right corner of the platform and type **human teammate** to be connected with a member of our team.