Your site's navigation is a set of links that directs visitors to your site content. Navigation typically displays at the top of your site, although some version 7.0 templates support navigation in footers or sidebars.
All sites include options for changing the font, color, and size of your navigation's links. This guide explains how to customize your navigation on any site.
Prima di iniziare
- Add links to your navigation by adding pages in the Pages panel. Pages in the Not Linked section won't display.
- Modifica il testo di un link aggiornando il relativo Titolo di navigazione in Impostazioni pagina.
- To change the order of links in the menu, drag and drop pages in the Pages panel.
Find the navigation style tweaks
The way that you change your navigation style depends on your site's version.
Navigation link styles are primarily set by your site's header. In the header editor, you can change:
- The navigation layout
- The navigation colors
- The padding around text
- Whether the navigation is fixed
- La visualizzazione della navigazione sui computer rispetto ai dispositivi mobili
You can also use options in the Design panel to change fonts and sizes. To learn more, see the sections below.
Every template family has its own Site Styles, so there isn't one single rule for how to update your navigation links. Use these tips to find the style options your template supports:
- To open Site Styles from the Home Menu, click Design, then Site Styles.
- Scroll through the tweaks on the left and look for related tweaks. The tweaks usually include the word Navigation.
- You can also hover over your site's navigation in the site preview on the right. When a blue highlighter box appears around it, click any navigation link. This helps filter out tweaks that don't affect the navigation links. When you're done, click Show All to go back to the main view.
Ecco un esempio di ciò che appare nel modello Thorne, che fa parte della Brine family:
Modificare tipo di carattere e dimensioni
The way that you change your navigation font depends on your site's version.
By default, your navigation font matches your site-wide font. To set a different font type or size for your navigation:
- Nel menu Home, fai clic su Design poi su Tipi di carattere.
- In Stili di testo globali, clicca su Assegna stili.
- Click Site Navigation.
- To change the font, click Style, then choose Custom. Choose a new font family, weight, style, and other details. Click Save to apply your changes.
- To change the size, click Size, then choose a preset Paragraph size, or choose Custom. To set a custom size, use the slider or manually enter a new rem value. Click Save to apply your changes.
Tip: To learn how version 7.1 uses rem values for font sizes, visit Changing fonts.
To change your navigation font, click the v icon next to the tweak name to open its drop-down menu. From here, you can change:
- Nomi dei tipi di carattere
- Stile
- Taglia
- Altezza della riga
- Spaziatura tra le lettere
Per maggiori informazioni, visita Modificare i tipi di carattere.
Modificare il colore.
The way you change your navigation color depends on your site's version.
Per modificare i colori dei link di navigazione, modifica il tema colore della sezione intestazione. Puoi inoltre modificare il tema colore dell'intestazione in sovrapposizione su dispositivi mobili.
Dopo aver impostato un tema colore, puoi ulteriormente personalizzare il tema impostando colori specifici per i link di navigazione.
To change the navigation link colors, click a color tweak in Site Styles. Choose a new color by clicking a color at the top of the selector, then selecting a shade within the square. You can also enter a specific value in the text field. For more help, visit Changing colors or your site's template guide.
Change the layout and spacing
The way you change the navigation layout depends on your site's version.
To change the position and spacing of your navigation links, edit your site's header. You can also customize the look and placement of the menu icon on mobile devices.
In some templates, you can change the position of the links. In Site Styles, look for tweaks called Navigation Position, Navigation Alignment, or something similar. To see what positions are available in your template, see the table below.
Tip: Some templates support fixed, or "sticky" navigation, that stays in the same position at the top of the browser while you scroll down the page.
Navigation display by template
Your site's navigation layout depends on your site's template, and displays differently on mobile devices. Larger mobile devices, such as tablets, may display the computer styles.
Here's how the Main Navigation displays on computers in these template families:
Modello |
Layout |
Adirondack |
Orizzontale, in alto al centro |
Avenue |
Orizzontale, in alto a sinistra/centro/destra |
Aviator |
Verticale, in alto a sinistra (Biglietto da visita/Offset); o orizzontale, in alto al centro (Poster) |
Bedford |
Orizzontale, in alto a destra |
Brine |
Horizontal, top left/center/right, can be hidden. In the Pages Panel, it's called the Primary Navigation. |
Farro |
Orizzontale, in alto a sinistra/centro/destra, può essere nascosto |
Five |
Verticale, nella barra laterale (Posizione di navigazione superiore: nessuna); o orizzontale in alto a sinistra/centro/destra (Sopra il Banner, Sotto il Banner) |
Flatiron |
Orizzontale, in alto a sinistra |
Forte |
Orizzontale, in alto a destra |
Galapagos |
Orizzontale, in alto al centro |
Ishimoto |
Orizzontale, in alto a sinistra/centro/destra |
Momentum |
Orizzontale, nella barra di navigazione |
Montauk |
Orizzontale, in alto a sinistra/centro/destra |
Native |
Orizzontale, in alto al centro |
Pacific |
Horizontal, top center, can be split around the site title |
Skye |
Verticale, all'interno di una sovrapposizione |
Supply |
Verticale, barra laterale sinistra |
Tremont |
Horizontal, top left/right |
Wells |
Verticale, barra laterale sinistra |
Wexley |
Orizzontale, in alto a sinistra/centro/destra |
York |
Orizzontale, in alto a sinistra/centro/destra, può essere nascosto |
Change link spacing
To change the space around navigation links, look for tweaks in Site Styles that change your header, banner, or navigation. While the tweaks vary by template, link spacing tweaks typically include words like Padding, Spacing, or Width.
Active and hover options (version 7.0)
On version 7.1, it's not possible to set different colors for hover and active navigation links. Active links are always underlined.
In some templates, there are additional options for navigation links depending on if they've been clicked. This is sometimes called their "state" or "phase." While the tweaks vary by template, look for these words:
- Al passaggio del mouse - Il link cambia quando un visitatore passa sopra con il mouse.
- Attivi - Quando un visitatore visita una pagina nella tua navigazione, il suo link cambia stile.
For help with your template, visit its template guide or list of Site Styles tweaks.
Suggerimento: i Link di navigazione esterni non mostreranno gli stili attivi, anche se si collegano a una pagina del tuo sito.
Navigazione su dispositivi mobili
On mobile devices, Main Navigation links collapse behind a Menu link or ☰ icon (also known as a "hamburger" icon). A visitor can click or tap it to reveal the full menu. This helps with usability and keeps your site mobile-friendly.
The link or icon can also appear on computer browsers depending on your visitor's browser size, the number of links in your menu, or the length of your navigation titles.
The way that you style your mobile navigation depends on your site's version.
To style your mobile navigation, edit your site's header. In the header editor, click the Mobile icon to set mobile-specific styles, including the layout and type of menu icon.
Ricorda:
- L'icona del menu appare sempre su dispositivi mobili, anche se tutte le pagine si trovano nella sezione Non collegato.
- It's not possible to make the the menu icon always appear on a computer.
In many cases, mobile navigation inherits styles from the computer display to keep your branding consistent. Some templates have advanced mobile style options, which give you a finer degree of control. To learn more, visit your template's guide.
To explore which tweaks affect your mobile navigation, open your navigation in phone view before opening Site Styles:
- Switch the Device View to phone.
- Click the navigation link (usually a ☰) so your mobile navigation appears.
- Nel Menu Home, clicca su Design, quindi su Stili sito. La navigazione mobile rimarrà aperta.
Tip: If you can’t see your navigation on mobile, ensure that you haven’t set your background or header color to the same color as your navigation text. The links may display over this color on mobile.
Menu icon or link design by template
Here's how the ☰ icon or Menu link displays in these template families:
Famiglia di modelli |
Icon or link (Always shows on mobile) |
Shows on computers... |
Adirondack |
☰ icon |
|
Avenue |
Menu link |
|
Aviator |
Menu link |
|
Bedford |
☰ icon |
|
Brine |
☰ icon. Change the style with the Mobile: Menu Icon section in Site Styles. |
|
Farro |
☰ icon |
|
Five |
☰ icon |
|
Flatiron |
Menu link |
|
Forte |
☰ icon |
|
Galapagos |
☰ icon |
|
Ishimoto |
Menu link |
|
Momentum |
☰ icon |
|
Montauk |
Menu link |
|
Native |
Menu link |
|
Pacific |
☰ icon |
|
Skye |
☰ icon |
|
Supply |
☰ icon |
|
Tremont |
☰ icon |
|
Wells |
Menu link |
|
Wexley |
Menu link |
|
York |
☰ icon |
|
Empty mobile navigation icons
In some templates, the icon always appears on mobile, even if all your pages are in the Not Linked section.
You can hide the menu icon in these template families:
- Brine family
- Farro family
Go to the Home Menu, click Design, then click Site Styles. Scroll to the Mobile: Menu Icon section and set the Menu Icon Position tweak to Hide.
In these template families, there isn't a built-in way to hide the mobile navigation icon:
- Bedford
- Forte
- Galapagos
- Montauk
- Wells
- York
Suggerimento: puoi nascondere l'icona di navigazione su dispositivi mobili aggiungendo codice personalizzato. Per maggiori informazioni, vedi questo post nello Squarespace Forum.
Nota: le personalizzazioni del codice non rientrano nell'ambito della nostra assistenza. Ciò significa che non possiamo fornire assistenza in relazione alla configurazione o alla risoluzione dei problemi.
Hide the collapsed menu on computers
To prevent the link or icon from showing on computers:
- Keep navigation titles short.
- Reduce the number of links in the menu. You can use folders to group related pages into drop-down menus, or, if your site is on version 7.0, move pages to Secondary or Footer Navigation.
- If your site is on version 7.0, switch to a different template. Click the Version 7.0 tab above, then explore the Shows on computers… options.