# Hiding navigation links for locked resources

Locksmith allows you to hide *navigation links that point to locked resources* - only showing them to visitors with access to your locks. This is turned on via the settings on your lock page:

<figure><img src="/files/bSUvbj8AGhQXsXjcDmSf" alt=""><figcaption></figcaption></figure>

You'll find this option on locks for the following resource types:

* Product
* Collection
* Page
* Blog
* Liquid locks

## Limitations

* Using **third party apps** to create your navigation will likely prevent Locksmith from being able to correctly hide your navigation links.
* Locksmith is generally not able to hide navigation menu links that are a part of a **mega menu**, whether via third party apps or a theme setting. These generally rely on AJAX/Javascript, which Locksmith cannot filter.
* Locksmith is not able to hide empty navigation links that don't point to any resource.
* This setting can only be turned on via your lock settings. This means that links pointing outside of your Online Store cannot be hidden through Locksmith.
* This setting cannot hide filtering options in your theme's filter menu, as filter items are displayed differently from product grids and navigation menus.

## Having issues with links not getting hidden?

The way you add in the links when creating your navigation menus may affect Locksmith's ability to remove links in your menus.

Specifically, it's important that you search for and select the resource directly and that you do NOT simply paste/type in the link. Selecting the resource directly means that there is a liquid resource associated with it, and Locksmith can more consistently detect the correct lock status that way.\
\
From the **Online Store > Navigation** area in your Shopify admin, It should look something like this when setting up:

<figure><img src="/files/2FhBBaIkzueIpH7FLuBR" alt=""><figcaption></figcaption></figure>

## Related articles

{% content-ref url="/pages/M9JRoxsNMqxR7taTbDTe" %}
[Creating locks](/basics/creating-locks.md)
{% endcontent-ref %}

{% content-ref url="/pages/HaTxrmU6t5AWPMJCcwqM" %}
[How do I hide my Shopify store's header and footer](/tutorials/more/how-do-i-hide-my-shopify-stores-header-and-footer.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.locksmith.guide/tutorials/more/hiding-navigation-links-for-locked-resources.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
