> For the complete documentation index, see [llms.txt](https://help.shopifas.com/manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.shopifas.com/manual/website/help.naviplus.io/usage/debug-mode-find-css-selectors.md).

# Debug mode - Find CSS Selectors

Debug mode is a lightweight toolset built into the Navi+ library that helps you work more effectively with Navi+ menus.

### 1. Find CSS selectors

To enable Debug mode, use the following URL format:\
`yourdomain.com#navidebug-on`

Your website will switch to Navi+ Debug Mode. Hover your mouse over different areas of the website to view their corresponding CSS selectors. Move your cursor to precisely locate the desired target area.

Please pay attention to the keyboard shortcuts below to work more efficiently.

**Shortcut 1.** Copying a CSS selector

* Press **⌘+C** on MacOS or **Ctrl+C** on Windows to copy the selected CSS selector.

You can then paste it into the **Publish Menu** settings for:

* Mega Menu / Grid Menu: to insert the menu before, after, or replace the target CSS selector
* Slide Menu: to trigger the slide menu when the target CSS selector is clicked or tapped

**Shortcut 2.** Navigating between selector levels

* Press \[↑/←], or Backspace to move to a parent-level selector
* Press \[↓/→] to move to a child-level selector

**Important tips:** In most cases, you won’t find the perfect CSS selector immediately. Based on experience, it’s often easier to:

1. Start by selecting a child-level selector
2. Then move up 1–2 parent levels (a visual highlight will appear on your website)
3. Copy the selector using ⌘+C (Ctrl+C)
4. Paste it into the menu configuration and test

Sometimes, you may need to repeat this process several times when inserting, replacing, or binding menu events to CSS selectors in order to achieve the desired user experience.

#### 1.1. Find the CSS Selector on Desktop

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

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

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

#### 1.2. Find CSS Selector on Mobile

To find a CSS selector on mobile, enable Mobile (Responsive) mode in your browser.\
Then right-click anywhere on the page and select:

* Chrome: Inspect
* Safari: Inspect Element
* Firefox: Inspect
* Edge: Inspect / Inspect Element

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

<figure><img src="/files/7Ik7u1Vw84vEYXhdwOt1" alt=""><figcaption></figcaption></figure>

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.shopifas.com/manual/website/help.naviplus.io/usage/debug-mode-find-css-selectors.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
