# Sidebar

<figure><img src="https://2392718208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjCQEtIvsTA0eOyo5BCXE%2Fuploads%2FErytrB1YEEg9i9EPss4T%2Fsidebar-alpha-moodle-theme.png?alt=media&#x26;token=6c17582c-3bbf-4bde-9e98-afce43c7102a" alt=""><figcaption></figcaption></figure>

1. **Search**\
   Site Administration -> Advanced features -> Enable global search
2. **Sidebar Logo/Sidebar Logo (Dark Mode)**\
   Site administration -> Appearance -> Alpha -> Sidebar -> Sidebar Logo/Sidebar Logo (Dark Mode)
3. [**My Courses**](#my-courses)\
   Site administration -> Appearance -> Space -> Sidebar -> My Courses
4. **Custom Text (Top)**\
   Site administration -> Appearance -> Alpha -> Sidebar -> Custom Text (Top)
5. [**Main navigation**](https://rosea.gitbook.io/alpha-moodle-theme/theme-settings/sidebar-navigation)\
   Site administration -> Appearance -> Space -> [Sidebar Navigation](https://rosea.gitbook.io/alpha-moodle-theme/theme-settings/sidebar-navigation)
6. **Custom Text (Middle)**\
   Site administration -> Appearance -> Space -> Sidebar -> Custom Text (Middle)&#x20;
7. **Custom Text (Bottom)**\
   Site administration -> Appearance -> Space -> Sidebar -> Custom Text (Bottom)
8. Site administration button.\
   You can move it to the top bar: Top bar -> Display "Admin button" on the top bar

### My Courses Position

To change the position of the "My courses" box, please use this option. \
By default, the box is displayed before the main navigation.

Site administration -> Appearance -> Alpha -> Sidebar -> Display "My Courses Area" before Main Navigation

<figure><img src="https://2392718208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjCQEtIvsTA0eOyo5BCXE%2Fuploads%2FmCGRIljeP0kq9VQEYNUn%2Fmycourses-position.png?alt=media&#x26;token=8ee9eab7-b567-4679-9865-67c722a2fe14" alt=""><figcaption></figcaption></figure>

### My Courses

<figure><img src="https://2392718208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjCQEtIvsTA0eOyo5BCXE%2Fuploads%2FnuTEmGeRxda2cQXdRNZQ%2Fsidebar-mycourses-space-moodle-theme.jpg?alt=media&#x26;token=232e3911-946e-44ba-81f4-ea9ab03bd076" alt=""><figcaption></figcaption></figure>

**Show My Courses Box**\
Turn on/off "My Courses" box on the left sidebar\
Site administration -> Appearance -> Sidebar -> Show My Courses Box

1. **My Courses**\
   Site administration -> Appearance -> Alpha -> Sidebar -> My Courses
2. **Details**\
   Site administration -> Appearance -> Alpha -> Sidebar -> My Courses -> Details
3. **Search bar** - Searchable course list
4. **Course list**\
   Site administration -> Appearance ->Alpha -> Sidebar ->  My Courses Wrapper Height (px)
5. **List of all available courses**\
   Site administration -> Appearance -> Alpha -> Sidebar -> List of all available courses\
   Leave this field empty if you want to hide this button.\
   This button depends on user permissions - <mark style="background-color:orange;">moodle/category:viewcourselist.</mark>\
   From 'Site administration -> Users -> Permissions -> Define roles'\
   [Learn more about the course list viewer role ->](https://docs.moodle.org/400/en/Course_list_viewer_role)

### **Turn off the sidebar**

Site administration -> Appearance -> Alpha -> Sidebar -> Turn off the sidebar

You can turn off the sidebar on specific pages.

<figure><img src="https://2392718208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjCQEtIvsTA0eOyo5BCXE%2Fuploads%2F7lqH1EcTZoYj0oJyq0TK%2Fsidebar-on-off.jpg?alt=media&#x26;token=a3d9c378-c4f3-4d4d-94fd-2ec2a5485236" alt=""><figcaption></figcaption></figure>

### **Sidebar Color Customization**

Site administration -> Appearance -> Alpha -> Sidebar -> Sidebar Color Customization

The same UI style has the Course Index Drawer.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://rosea.gitbook.io/alpha-moodle-theme/theme-settings/sidebar.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
