Skip to content
Type something to search...
Upstart Theme Documentation

Customizing the Header

The header contains following essential elements that you can customize using the links below:


Customizing the Navigation Button

To enable or edit the navigation button in the header, open the config.toml file in the src/config folder and find the following section:

config.toml
# Navigation Button In Header
[settings.navigation_button]
enable = true
label = "" # Check src/i18n/en.json and src/i18n/fr.json for changing the navigation button label in different languages or directly add value here if you are not using internationalization feature
url = "/contact/"

Updating the Button Label

The button label is managed through language files for multilingual support. To change it:

  1. Open src/i18n/en.json (for English) or another language file, such as src/i18n/fr.json (for French).
  2. Locate the "navigation" section.
  3. Update the "button_label" value.

Note: If you are not using the multilingual feature, you can update the button label directly in the config.toml file

Example: English (en.json)
"navigation": {
"button_label": "Get Started"
}
Example: French (fr.json)
"navigation": {
"button_label": "Commencez à utiliser"
}

Once updated, your navigation button will display the new label based on the selected language.