Crema React
v-2
v-2
  • About Crema(CRA)
  • Product Overview
  • Folder Structure
  • Installation
    • Pre-Requisites
    • Installing Crema
  • Default Route
  • Customization
    • Template Style
    • Template Mode
    • Template and Sidebar Color
    • Tempate Direction
    • Navigation Style
    • Footer
    • Footer Type
    • Route Transition
  • Multi-Lingual Support
    • Changing Language
    • Adding New Language
  • Sidebar Menu
    • Adding New Menu
  • Route Protection
  • Loggedin User
  • Axios Setup
  • Package.json
  • GitHub Access
  • Slack Community
  • FAQ
  • Next.js
    • About Next.JS
    • Installation
    • Folder Structure
    • Route Protection
    • Deploy to server
  • Servers
    • Python
    • Mongoose
    • Laravel
Powered by GitBook
On this page

Was this helpful?

  1. Customization

Navigation Style

Last updated 5 years ago

Was this helpful?

We have included eight navigation styles in the Crema. You can choose the Navigation style according to your choice and requirement by following under-written steps.

Changing Navigation Style in run time:-

Click on the settings button on the right corner of the screen just below the notification icon, a drawer will open in which you will find navigation styles option and from there, you can navigation style of your choice.

Changing Navigation Style in development mode (setting default Navigation Style):-

To set the default Navigation Style, go to the following file:-

src/@crema/utility/ContextProvider/defaultConfig.js

In this file, you will find a property named 'navStyle' which accepts eighth values. You need to set the value of 'navStyle' according to your choice. Layouts and their accepted values(which you have to assign to 'navStyle') can be found in the file with path:-

src/shared/constants/AppEnums.js

Layouts and their schematic designs are as follows:-

1. Default Layout

2. Standard Layout

3. Mini Layout

4. Drawer Layout

5. Bit Bucket Layout

6. Horizontal Default Layout

7. Horizontal Light Navigation Layout

8. Horizontal Dark Navigation Layout