Skip to content
New: Customize your theme with an AI assistant. Read the guide

Customizing The Header

Files: src/config/config.toml, src/config/menu.<lang>.json, src/i18n/<lang>.json · Skill level: Beginner

The header holds these parts:

In the Tina edition, you edit these in Site settings, Menus, and Interface labels at /admin/. In the Sanity edition, you edit them in the same places in the Studio.

Customizing The Navigation Button

To show or edit the button in the header, open src/config/config.toml and find this section:

src/config/config.toml
[settings.navigationButton]
enable = true # Show or hide the button
label = "" # Button text. Leave empty to use the text in each language file
url = "/contact/" # Button link

Updating The Button Label

The label is in each language file, so it can change with the language:

  1. Open src/i18n/en.json, then the same file for each of your other languages, such as src/i18n/fr.json and src/i18n/ar.json.
  2. Find the navigation group.
  3. Change the buttonLabel value.
"navigation": {
"buttonLabel": "Get Started"
}

The button shows the label for the page’s language. On most themes, a value in label in config.toml replaces the text in every language, so leave it empty.

Type something to search...