Put your menu on your store

Debug mode: add #navidebug-on to find a CSS selector

Debug mode is the quickest way to see the CSS selector of any part of your website. A CSS selector is the name Navi+ uses to point at a spot on the page.

Using Shopify? You may not need this page. Pick your theme in the Publish step and Navi+ fills in the selectors for you. If you only want to point at a spot, Navi+ Live is easier. Use this page for custom themes and websites that aren't on Shopify.

1Turn it on

Type your website address, then #navidebug-on at the end, for example yourdomain.com#navidebug-on. The page switches to Navi+ Live. To turn it off, use #navidebug-off.

2Hover and copy the selector

Move your mouse over the page. Navi+ outlines each part and shows its selector. Click a part, or press ⌘ + C on Mac or Ctrl + C on Windows, to copy it.

3Move up or down a level

Picked the wrong box? Press ↑, ←, or Backspace to select the box around it. Press ↓ or → to go back inside.

4Paste it into Publish

Open the menu, go to the Publish step, and paste the selector into the CSS Selector box. Then check your website. For the other ways to choose a spot, see Navi+ Live: pick a spot.

Tip

You rarely get the right selector on the first try. Hover a small part inside the target, press ↑ once or twice until the whole target is outlined, then copy it and test. Repeat until the menu sits where you want.

More details

Find a selector on a phone

Debug mode needs a mouse. To work on the phone layout, open your website on a computer and turn on your browser’s phone (responsive) mode. Then add #navidebug-on and hover as usual. You can also right-click a part of the page and choose Inspect (Chrome, Edge, Firefox) or Inspect Element (Safari) to read its selector.

Check that Navi+ is running on my website

Add #navidebug-on to the address. If the page switches to Navi+ Live, the Navi+ code is on your website. Developers can also open the browser’s Console and look for a green message that starts with “Using Navi+”. If neither appears, the code in the head tag is missing or the page needs to be published again. See Wix, WordPress, other websites.

Debug mode doesn't open
  • Type #navidebug-on right after the address, with no space, then reload the page. #livemode also works.
  • If your store has a password, enter it first, then add #navidebug-on.
  • If you don’t see anything, see The menu doesn’t show.
What does a selector look like?

Examples: #header (the header), .navbar (the main bar), section.hero (the big banner at the top). A selector names a part of the page, and Navi+ can place your menu before it, after it, or in place of it.

Did this page help?

Need a hand? Chat with us in the app or write to [email protected] — send your store URL and the menu name.