Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
CrafterCMS v3.1.31
Light Logo Dark Logo
  • current
  • v4.1
  • v4.0
  • v3.1
  • Getting Started
    • Requirements and Supported Platforms
    • Quick Start Guide
    • Your First Website
  • Content Authors
    • Getting Started on Authoring
    • Navigating Around Crafter Studio
    • Working with Pages
    • Working with Assets
    • Content Author Search
    • Targeting
    • Workflows
  • Developers
    • CrafterCMS Architecture
    • Content Modeling
      • Page Content Type
      • Component Content Type
    • Content Inheritance
    • Assets
      • Remote Assets
      • Asset Processing
    • Templates
      • FreeMarker (Templating) API
      • In-Context Editing
    • Search with Elasticsearch
    • GraphQL
      • Working with GraphQL
      • Custom GraphQL Schema
    • Plugins
      • Blueprints
      • Crafter Studio Plugins
        • Crafter Studio Sidebar Plugin Example
        • Building Form Engine Control Plugins
        • Building Form Engine Data Source Plugins
        • Crafter Studio Plugin Host Page Examples
    • Content Targeting
    • Redirects
    • Testing
    • Errors
    • Extending Crafter Studio
      • Build a Form Engine Control
      • Build a Form Engine Data Source
    • Developer Workflow (DevContentOps)
      • Introduction to the Developer Workflow with CrafterCMS
      • Code Repository & DevOps Workflow
      • Connecting the Production CMS to the Development Workflow
      • Configuration and Implementation Production Content Repository <–> Code Repository Sync and Code Release Publishing
      • Implementation of the DevOps Workflow
    • CrafterCMS
    • Crafter Docker Compose
    • Crafter Core
      • Crafter Core API
        • Clear
        • Clear All
        • Get Descriptor
        • Get Item
        • Get Children
        • Get Tree
    • Crafter Commons
    • Crafter Engine
      • JavaScript Libraries
      • GraphQL
        • Working with GraphQL
        • Custom GraphQL Schema
      • Crafter Engine API
        • Get ID
        • Get Status
        • Destroy Context
        • Rebuild Context
        • Rebuild GraphQL Schema
        • List Jobs
        • Reload Mappings
        • Clear
        • Statistics
        • Get Descriptor (deprecated)
        • Get Item
        • Get Children
        • Get Tree
        • Get Profile
        • Set Profile
        • Breadcrumb
        • Tree
        • Transform
        • Search
        • Query (GET)
        • Query (POST)
        • Preview
        • Get Memory Stats
        • Get Status
        • Get Version
        • Get Log Events
        • Get Component
      • FreeMarker (Templating) API
      • Groovy API
    • Crafter Studio
      • Crafter Studio API
        • Crafter Studio API Version 1
          • Clear Configuration Cache
          • Create Site
          • Delete Site
          • Exists
          • Get Available Blueprints
          • Get Canned Message
          • Get Configuration
          • Get Site
          • Get Sites per User
          • Monitor Content
          • Write Configuration
          • Add Remote (deprecated)
          • Pull From Remote (deprecated)
          • Push To Remote (deprecated)
          • Rebuild Database (deprecated)
          • Remove Remote (deprecated)
          • Sync from Repo
          • List Remote Repositories (deprecated)
          • Login
          • Logout
          • Validate Session
          • Get User Permissions
          • Get User Roles
          • List CMIS Files and Folders (deprecated)
          • Search CMIS (deprecated)
          • Clone a CMIS File into Studio (deprecated)
          • Upload an asset File into CMIS (deprecated)
          • Publish Commits
          • Publish Status
          • Start Publisher
          • Stop Publisher
          • Publish Items
          • Reset Staging Publishing Target
          • Get User Activity
          • Post Activity
          • Copy Item
          • Cut Item
          • Get Items
          • Paste Item
          • Get Dependant Items
          • Get dependencies
          • Get Simple Dependencies
          • Calculate Dependencies
          • Bulk Go Live
          • Get available publishing channels
          • Get Deployment History
          • Get Scheduled Items
          • Preview Sync
          • Change Template
          • Content Exists
          • Create Folder
          • Crop Image
          • Rename Folder
          • Get Content
          • Get Content at Path
          • Get Content Type
          • Get Content Types
          • Get Content Item
          • Get Item Orders
          • Get Item States
          • Get Item Versions
          • Get Items Tree
          • Get Next Item Order
          • Get Pages
          • Reorder Content Items
          • Revert Content Item
          • Search Content
          • Set Item State
          • Unlock Content Item
          • Write Content
          • Get Available Languages
          • Get Loggers
          • Get UI Resource Override
          • Set Logger State
          • Create Jobs
          • Get Go Live Items
          • Get Workflow Affected Paths
          • Go Delete
          • Go Live
          • Reject
          • Request Publishing
          • Transcode
          • MediaConvert (deprecated)
          • AWS S3 Upload (deprecated)
    • Crafter Search
      • Crafter Search API
        • Create Index
        • Get Index Info
        • Delete Index
        • Search Documents
        • Update XML Document
        • Update Binary Document
        • Commit Changes
        • Delete Document
        • Get Memory Stats
        • Get Status
        • Get Version
    • Crafter Deployer
      • Crafter Deployer API
        • Create Target
        • Get Target
        • Get All Targets
        • Delete Target
        • Deploy Target
        • Deploy All Targets
        • Unlock Target
        • Recreate Index
        • Version
        • Status
        • Memory
    • Crafter Profile
      • Crafter Profile API
        • Create Access Token
        • Get Access Token
        • Get All Access Tokens
        • Delete Access Token
        • Create Tenant
        • Get Tenant
        • Update Tenant
        • Delete Tenant
        • Count Tenants
        • Get All Tenants
        • Verify New Profiles
        • Add Roles
        • Remove Roles
        • Add Attributes
        • Update Attributes
        • Remove Attributes
        • Create Profile
        • Update Profile
        • Verify Profile
        • Enable Profile
        • Disable Profile
        • Add Roles
        • Remove Roles
        • Get Attributes
        • Update Attributes
        • Remove Attributes
        • Delete Profile
        • Get Profile By Query
        • Get Profile
        • Get Profile By Username
        • Get Profile By Ticket
        • Get Profile Count
        • Get Profile Count By Query
        • Get Profiles By Query
        • Get Profiles By Ids
        • Get Profiles By Range
        • Get Profiles By Role
        • Get Profiles By Attribute Value
        • Reset Password
        • Change Password
        • Create Verification Token
        • Get Verification Token
        • Delete Verification Token
        • Upload Profile Attachment
        • Get Profile Attachment
        • Get All Profile Attachments
        • Get Profile Attachment Details
        • Authenticate
        • Create Ticket
        • Get Ticket
        • Invalidate Ticket
        • Create Persistent Login
        • Get Persistent Login
        • Refresh Persistent Login
        • Delete Persistent Login
        • Get Memory Stats
        • Get Status
        • Get Version
    • Crafter Social
      • Crafter Social API
        • Get Current Actions
        • Update Actions
        • Get All Social Contexts
        • Create Social Context
        • Add Profile To Social Context
        • Remove Profile from Social Context
        • Update Email Configuration
        • Get Email Configuration
        • Update Email Template
        • Get Email Template
        • Get Context Preferences
        • Update Context Preferences
        • Delete Context Preferences
        • Clear Cache
        • Create Comment
        • Update Comment
        • Delete Comment
        • Get Comment
        • Search Comments
        • Update Comment Attributes
        • Delete Comment Attributes
        • Update Comment Flags
        • Delete Comment Flag
        • Get Comment Flags
        • Moderate Comment
        • Get Comments By Moderation Status
        • Count Comments By Moderation Status
        • Get Flagged Comments
        • Count Flagged Comments
        • Get Attachments
        • Get Attachment Content
        • Create Attachment
        • Delete Attachment
        • Update Attachment Content
        • Vote Up
        • Vote Down
        • Remove Votes
        • Get Thread Comments
        • Get Comment Children
        • Subscribe
        • Update Subscription
        • Unsubscribe
        • Get Memory Stats
        • Get Status
        • Get Version
    • Cookbooks / Tutorials
      • Querying Content
        • Basic Query Mechanics
      • Solutions: Active Cache
        • Active Cache a RESTful Response
      • Solutions for Activiti
        • Start an Activiti Process via Rest Script
      • Solutions for AWS
        • Use S3 to store assets
        • Upload and Transcode Video using AWS Elemental MediaConvert
      • Solutions for Box
        • Use Box to store assets
      • Solutions RESTful Services
        • Render Page Components as JSON
        • Get the Names of Sites Running in Crafter Engine
        • Get Pages for a Given Site
      • GraphQL
        • Working with GraphQL
        • Custom GraphQL Schema
      • Crafter Marketplace
        • Create Plugins for the Crafter Marketplace
      • Best Practices
        • Best Practices on Loading Content From Disk vs Search Index
        • Environment Specific Configurations
      • How-Tos
        • How to Add to Upgrade Scripts for Your Customizations
        • Changing the Data and Logs Folder Location
        • Configuring Crafter on Docker for Local Development Tools
        • Integrating CrafterCMS with cloud hosted developer platforms
          • Integrating CrafterCMS with BitBucket
          • Integrating CrafterCMS with GitHub
          • Integrating CrafterCMS with GitLab
        • Overriding Logging Levels
        • Setting up an LDAP server for development/testing using Apache Directory Studio
        • Using War Overlays with Crafter Engine
        • Using Custom Processors with Crafter Deployer
        • Web Manifest Usage in CrafterCMS
        • Working with Crafter Studio’s APIs
        • Working with Dates and Time Zones in Freemarker
        • Working with Dates and Time Zones in Groovy
        • Working With URL Interceptor/Servlet Filters in CrafterCMS
        • Migrating a site from Solr to Elasticsearch
      • RTE How-tos
        • Using Components in the Rich Text Editor (RTE)
        • Inserting Links to Pages in the Rich Text Editor (RTE)
        • Upgrading to RTE TinyMCE 5
  • Site Administrators
    • Navigating Site Config
    • Configuration
      • Studio Configuration
        • Asset Processing Configuration
        • AWS Profiles Configuration
        • Blob Stores Configuration
        • Box Profiles Configuration
        • CMIS Configuration
        • Code Editor Configuration
        • Configure Simple Workflow Notifications and Dialog Messages
        • Content Monitoring
        • Contextual Navigation Configuration
        • Dependency Resolver Configuration
        • Drag and Drop Configuration
        • Mime Types Configuration
        • Permission Mappings
        • Preview Panel Configuration
        • Role Mappings
        • Rich Text Editor Configuration
          • Rich Text Editor (RTE TinyMCE 2) Setup
          • Rich Text Editor (RTE TinyMCE 5) Setup
        • Sidebar Configuration
        • Site Configuration
        • Site Config Tools
        • Site Config Configuration
        • Targeting Configuration
        • WebDAV Profiles Configuration
        • Multi-Environment Configuration
        • Publishing Assets in External Storage
      • Engine Configuration
        • Engine Site Configuration
        • Engine Site Security Guide
        • Engine SAML2 Configuration
        • Engine Headers Based Authentication
        • Engine Crafter Profile Configuration
        • Content Targeting Guide
        • Configure Engine to use MongoDB
        • Configuring URL Rewriting
        • Engine Multi-Environment Configuration
        • Engine Multi-Target Configuration
        • Proxy Configuration
    • Viewing Logs Through Crafter Studio
  • System Administrators
    • Installing
      • Requirements and Supported Platforms
      • Setting up a CrafterCMS production environment
      • Setup CrafterCMS Authoring Using Crafter’s AWS AMI
      • Setup CrafterCMS Delivery Using Crafter’s AWS AMI
    • Backup and Recovery
    • Studio Clustering
      • Setup a Two Node Cluster with Studio and a Studio Arbiter
      • Setup Studio Clustering with Kubernetes Deployment
      • Changing the Cluster Git URL
    • DevContentOps Toolkit
      • Crafter CLI Commands
        • add-environment
        • add-remote
        • create-site
        • list-remotes
        • sync-from
        • sync-to
    • Logging
    • Setting up a CrafterCMS production environment
    • Reindexing Content for Search and Queries
    • Reindexing Content Without Disrupting Service in Production
    • Troubleshooting CrafterCMS
      • Debugging Search Issues
      • Debugging Publishing Issues
      • Debugging Deployer Issues
      • Debugging SSH Key Issues
      • Debugging SSL Handshake Issues
      • Debugging Maven Issues
    • Randomize “admin” Password for CrafterCMS Fresh Install
    • Configuring Studio Security
      • Studio SAML2 Configuration
      • Configure LDAP Authentication
      • Configure Headers Based Authentication
    • Configure SSL/TLS
    • Setup CloudFront Signed Cookies in CrafterCMS
    • Deploying CrafterCMS in Kubernetes
      • Deploying a Simple CrafterCMS installation in Kubernetes
      • Simple Authoring with a Single Instance Kubernetes Deployment
      • Setup Studio Clustering with Kubernetes Deployment
      • Simple Delivery Kubernetes Deployment
    • Adding a New Language
    • Encrypting Configuration Properties
    • Management Tokens
    • Upgrading CrafterCMS
      • Upgrading CrafterCMS
      • Docker/Kuber Instructions for Upgrading CrafterCMS
    • Authoring Environment Performance Tuning
    • How To Change the Hosts and Ports on Your CrafterCMS Authoring Environment Installation
    • Configuring Publishing to Staging Target
    • Setup CrafterCMS Authoring Using Crafter’s AWS AMI
    • Synchronize Studio Database With Repository
    • Navigating the Main Menu
    • Users/Groups Management
      • Users Management
      • Groups Management
      • Roles and Permissions
      • Putting it all together - Users, Groups, Roles and Permissions
      • User passwords
    • How To Change the Hosts and Ports on Your CrafterCMS Delivery Environment Installation
    • Configuring Apache Virtual Host for Production
    • Delivery Environment Performance Tuning
    • Setup Site for a Delivery Environment
    • Setup Serverless Delivery
    • Setup CrafterCMS Delivery Using Crafter’s AWS AMI
    • Using the Encryption Tool
    • Deployer System Administration Guide
    • Deployer Processors Guide
    • Target Templates Guide
    • Debugging Deployer Issues
    • Elasticsearch Configuration Guide
    • Configure Multi-Tenancy in Engine
    • Configure Single-Tenancy in Engine
    • Turn Off Show Error
    • Engine’s Configuration Overrides
    • Crafter Profile System Administration
    • Crafter Profile Admin Console UI
      • Accessing the Admin Console
      • Access Tokens Management
      • Tenants Management
      • Profiles Management
    • Crafter Search System Administration
    • Crafter Social System Administration
    • Crafter Social Admin Console UI
      • Accessing the Admin Console
      • Social Contexts Management
      • Security Actions Management
      • Preferences Management
      • Profiles Management
      • User Generated Content Moderation
    • Studio’s Configuration Overrides
    • Debugging Publishing Issues
    • Debugging Upgrade Issues
    • Site Creation with Remote Repositories
    • Changing the Session Timeout
    • Publishing Blacklist
  • Security
    • Security Policies
    • Security Advisories
    • Security Processes
  • Release Notes
  • Roadmap
  • Contribute
    • Documentation Standard
  • Source Code
  • Support
  • FAQ
  • Acknowledgements
  • »
  • Site Administrators »
  • Configuration »
  • Studio Configuration »
  • Sidebar Configuration

  • Document Up to Date
Back to top
Edit this page

Sidebar Configuration¶

The sidebar configuration file configures the items available for interaction on the left side of Studio. The Sidebar shows different projections of the content in addition to other tools to assist in content authoring. To modify the sidebar configuration, click on siteConfig from the bottom of the Sidebar, then click on Configuration and select Sidebar Configuration from the dropdown list.

Configurations - Open Sidebar Configuration

Sample¶

CRAFTER_HOME/data/repos/sites/SITENAME/sandbox/config/studio/context-nav/sidebar.xml¶
  1<?xml version="1.0" encoding="UTF-8"?>
  2<!-- sidebar.xml
  3    This configuration file controls the SideBar in Crafter Studio. The SideBar is the left bar that shows
  4    different projections of the content in addition to other tools to assist in content authoring.
  5
  6    <contextNav>
  7      <modulehook>
  8            <name>dashboard</name>
  9            <params>
 10          <label>Dashboard</label>
 11              <path>/site-dashboard</path>
 12          <icon>                   (optional icon customization - only one state (no tree link))
 13                <class>fa-cog</class>  (change default icon - using Font Awesome class)
 14            <styles>                   (Change default icon styles - using css rules)
 15                  <color>#409a00</color>
 16                      <font-size>16px</font-size>
 17                </styles>
 18              </icon>
 19              <roles>
 20                    <role>admin</role>
 21                    <role>developer</role>
 22              </roles>
 23              <label>Site Config</label>
 24              <path>/site-config</path>
 25              <showRootItem>true</showRootItem>
 26              <onClick>preview</onClick>
 27            </params>
 28      </modulehook>
 29    </contextNav>
 30
 31    <contextNav>
 32      <modulehook>
 33          <name>wcm-root-folder</name>
 34          <showDivider>true</showDivider>
 35          <label>Pages</label>
 36          <path>/site/website</path>
 37              <module-icon-open>       (optional module-icon-open customization - state open)
 38            <class>fa-cog</class>
 39            <styles>
 40                <color>#409a00</color>
 41                <font-size>16px</font-size>
 42            </styles>
 43          </module-icon-open>
 44          <module-icon-closed>     (optional module-icon-closed customization - state close)
 45            <class>fa-cog</class>
 46            <styles>
 47                <color>#409a00</color>
 48                <font-size>16px</font-size>
 49            </styles>
 50          </module-icon-closed>
 51          <showRootItem>true</showRootItem>
 52          <onClick>preview</onClick>
 53            </params>
 54      </modulehook>
 55    </contextNav>
 56
 57    Common module hooks include:
 58       <modulehook>
 59          <name>wcm-root-folder</name>           Type: Browsable content tree of descriptors and folders
 60          <showDivider>true</showDivider>        Display a visual divider after the folder (true/false)
 61          <params>
 62             <label>Pages</label>                Label
 63             <path>/site/website</path>          Path to root tree at. You mave multiple path elements
 64             <showRootItem>true</showRootItem>   Display the root folder (true/false)
 65             <onClick>preview</onClick>          Attempt to preview asset on click
 66             <roles>...</roles>                  (optional roles list that has access to the menu item)
 67          </params>
 68       </modulehook>
 69
 70       <modulehook>
 71          <name>wcm-asset-folder</name>          Type: Browsable content tree of files and folders
 72          <showDivider>true</showDivider>        Display a visual divider after the foler (true/false)
 73          <params>
 74             <label>Static Assets</label>        Label
 75             <path>/static-assets</path>         Path to root tree at. You mave multiple path elements
 76             <showRootItem>true</showRootItem>   Display the root folder (true/false)
 77             <onClick>preview</onClick>          Attempt to preview asset on click
 78             <roles>...</roles>                  (optional roles list that has access to the menu item)
 79          </params>
 80       </modulehook>
 81
 82      <modulehook>
 83        <name>dashboard</name>                   Type: Display a link to the Sites Dashboard
 84        <params>
 85          <label>Dashboard</label>               Label
 86          <path>/site-dashboard</path>           Relative link to Sites Dashboard
 87          <roles>...</roles>                     (optional roles list that has access to the menu item)
 88        </params>
 89      </modulehook>
 90
 91      <modulehook>
 92        <name>site-config</name>                 Type: Display a link to the Site Config Panel
 93        <params>
 94          <label>Dashboard</label>               Label
 95          <path>/site-dashboard</path>           Relative link to Site Config Panel
 96          <roles>...</roles>                     (optional roles list that has access to the menu item)
 97        </params>
 98      </modulehook>
 99-->
100<contextNav>
101  <contexts>
102    <context>
103      <groups>
104            <group>
105              <menuItems>
106                <menuItem>
107              <modulehooks>
108                <!-- Dashboard -->
109                <modulehook>
110                  <name>dashboard</name>
111                  <params>
112                    <label>Dashboard</label>
113                    <path>/site-dashboard</path>
114                  </params>
115                </modulehook>
116
117                <!-- Site IA Pages -->
118                <modulehook>
119                  <name>wcm-root-folder</name>
120                  <params>
121                    <label>Pages</label>
122                    <path>/site/website</path>
123                    <showRootItem>true</showRootItem>
124                    <onClick>preview</onClick>
125                  </params>
126                </modulehook>
127
128                <!-- Components -->
129                <modulehook>
130                   <name>wcm-root-folder</name>
131                   <params>
132                     <label>Components</label>
133                     <path>/site/components</path>
134                     <showRootItem>true</showRootItem>
135                   </params>
136                </modulehook>
137
138                <!-- Taxonomy -->
139                <modulehook>
140                  <name>wcm-root-folder</name>
141                  <params>
142                    <label>Taxonomy</label>
143                    <path>/site/taxonomy</path>
144                    <showRootItem>true</showRootItem>
145                  </params>
146                </modulehook>
147
148                <!-- Static Assets -->
149                <modulehook>
150                  <name>wcm-assets-folder</name>
151                  <params>
152                    <label>Static Assets</label>
153                    <path>/static-assets</path>
154                    <showRootItem>true</showRootItem>
155                    <onClick>none</onClick>
156                  </params>
157                </modulehook>
158
159                <!-- Templates -->
160                <modulehook>
161                  <name>wcm-assets-folder</name>
162                  <params>
163                    <label>Templates</label>
164                    <path>/templates</path>
165                    <showRootItem>true</showRootItem>
166                    <onClick>none</onClick>
167                  </params>
168                </modulehook>
169
170                <!-- Scripts -->
171                <modulehook>
172                  <name>wcm-assets-folder</name>
173                  <params>
174                    <label>Scripts</label>
175                    <path>/scripts</path>
176                    <showRootItem>true</showRootItem>
177                    <onClick>none</onClick>
178                  </params>
179                </modulehook>
180
181                <!-- Site Config -->
182                <modulehook>
183                  <name>site-config</name>
184                  <params>
185                    <roles>
186                      <role>admin</role>
187                      <role>developer</role>
188                    </roles>
189                    <label>Site Config</label>
190                    <path>/site-config</path>
191                  </params>
192                </modulehook>
193              </modulehooks>
194
195            </menuItem>
196          </menuItems>
197        </group>
198      </groups>
199    </context>
200  </contexts>
201</contextNav>

Sidebar Excludes¶

To hide items (exclude) in the sidebar, use

...
<excludes>
  <exclude PATTERN_TO_EXCLUDE/>
  ...
</excludes>

where:

  • PATTERN_TO_EXCLUDE is a prefix of items to hide from the Sidebar

Let’s take a look at an example using the a site created from the Website Editorial blueprint, to hide the folder /site/website/articles/2017/3.

Here’s the site tree before the 2017/3 folder is hidden

Configurations - Sidebar Configuration Folder Structure

Here’s the configuration to hide the folder:

 1<!-- Site IA Pages -->
 2<modulehook>
 3  <name>wcm-root-folder</name>
 4  <params>
 5    <label>Pages</label>
 6    <path>/site/website</path>
 7    <showRootItem>true</showRootItem>
 8    <onClick>preview</onClick>
 9    <excludes>
10      <exclude>/site/website/articles/2017/3</exclude>
11    </excludes>
12  </params>
13</modulehook>
14...

Here’s the site tree with the folder 2017/3 hidden:

Configurations - Sidebar Configuration Folder Hidden

Sidebar Icon Customization¶

The default icon and icon colors of modules in the sidebar can be changed including when expanding/collapsing modules.

Let’s take a look at an example of putting a red border when Taxonomy is expanded and for Templates, a red font color when expanded and a blue font color when collapsed

Let’s take a look at an example of changing the icon and icon color of the Dashboard module to use a tag as its icon, colored green and, to change the icon and color of Pages to a red anchor icon when the module is collapsed, and to a green cog when the module is expanded.

Here’s the default colors of the modules in the sidebar. Pay close attention to the Dashboard and Pages widget colors.

Configurations - Sidebar Configuration Widget Default Colors

Here’s the configuration for changing the icon and color of Dashboard to a green tag icon, and changing the icon and color of Pages to a red anchor icon when the module is collapsed, and to a green cog when the module is expanded.

 1<contextNav>
 2  <modulehook>
 3    <name>wcm-root-folder</name>
 4    <params>
 5      <showDivider>true</showDivider>
 6      <label>Pages</label>
 7      <path>/site/website</path>
 8      <module-icon-open>       (optional module-icon-open customization - state open)
 9        <class>fa-cog</class>  (change default icon - using Font Awesome class)
10        <styles>               (Change default icon styles - using css rules)
11          <color>green</color>
12          <font-size>16px</font-size>
13        </styles>
14      </module-icon-open>
15      <module-icon-closed>     (optional module-icon-closed customization - state close)
16        <class>fa-anchor</class>
17        <styles>
18          <color>red</color>
19          <font-size>16px</font-size>
20        </styles>
21      </module-icon-closed>
22      <showRootItem>true</showRootItem>
23      <onClick>preview</onClick>
24    </params>
25  </modulehook>
26</contextNav>
27...

Here’s the sidebar with the icons and colors changed:

Configurations - Sidebar Configuration Module Default Colors and Icons Changed ../../_images/image-space.png Configurations - Sidebar Configuration Module Default Icon Expanded Changed

Next
Site Configuration
Previous
Rich Text Editor (RTE TinyMCE 5) Setup
Copyright © 2025, Crafter Software Corporation
Made with Sphinx and @pradyunsg's Furo
On this page
  • Sidebar Configuration
    • Sample
    • Sidebar Excludes
    • Sidebar Icon Customization