Published

How to Configure the Navigation Bar

By olayway

A step-by-step guide to customizing your site's navigation bar with logos, links, and social media

This tutorial will guide you through the process of customizing your Flowershow Cloud site's navigation bar. You'll learn how to add your logo, customize the title, create navigation links, and integrate social media links.

Prerequisites

Before you begin, make sure you have:

  • A Flowershow Cloud site set up
  • Basic knowledge of JSON format
  • Your logo image ready (if you plan to use a custom logo)

Step 1: Create the Configuration File

  1. Navigate to the root folder of your site's repository
  2. Create a new file named config.json.

Step 2: Customize Your Logo and Site Title

  1. Upload your logo file to your site's repository. (Skip if you're using a file hosted outside of your repository.)
  2. Add your logo path (or URL) to the nav.logo field
  3. Set your site title in the nav.title field

Example:

{
  "nav": {
    "logo": "logo.jpeg",
    "title": "My Digital Garden"
  }
}

nav-config.png

The result: nav-config-1.png

Add your navigation links to the nav.links array. Each link requires:

  • name: The text that appears in the navigation bar
  • href: The URL or path the link points to

Example:

{
  "nav": {
    "links": [
      {
        "href": "/blog",
        "name": "Blog"
      },
      {
        "href": "/about",
        "name": "About"
      }
    ]
  }
}

The result: nav-config-2.png

Add social media links to the nav.social array. Each social link requires:

  • label: Platform identifier (see supported platforms below)
  • name: Text label (used in sidebar mode)
  • href: Your social media profile URL

Supported social platforms:

  • github
  • discord
  • linkedin
  • twitter
  • x
  • facebook
  • instagram
  • youtube

Example:

{
  "nav": {
    "social": [
      {
        "label": "github",
        "name": "GitHub Profile",
        "href": "https://github.com/yourusername"
      },
      {
        "label": "twitter",
        "name": "Follow me on Twitter",
        "href": "https://twitter.com/yourusername"
      }
    ]
  }
}

The result: nav-config-3.png On smaller screens: nav-config-4.png

Complete Configuration Example

Here's a comprehensive example combining all the elements:

{
  "nav": {
    "logo": "logo.jpeg",
    "title": "My Digital Garden",
    "links": [
      {
        "href": "/blog",
        "name": "Blog"
      },
      {
        "href": "/about",
        "name": "About"
      }
    ],
    "social": [
      {
        "label": "github",
        "name": "GitHub Profile",
        "href": "https://github.com/yourusername"
      },
      {
        "label": "twitter",
        "name": "Follow me on Twitter",
        "href": "https://twitter.com/yourusername"
      }
    ]
  }
}

Troubleshooting

Common issues and solutions:

  1. Logo not appearing?

    • Verify the logo path is correct relative to your site's root folder
    • Ensure the image file exists at the declared path
  2. Social icons not showing?

    • Double-check that you're using supported platform labels

© 2025 All rights reservedBuilt with Flowershow Cloud

Built with LogoFlowershow Cloud