Placing the content before menu items is straightforward: Just replace `contentAfterRoutes` with `contentBeforeRoutes`.
### Placing a Search Input Before Menu Items
The Lepton package has a search component designed to work with the routes in the menu. You can simply import the module and pass the component as `contentBeforeRoutes` option to `ThemeLeptonModule`.
```js
import { MenuSearchComponent, MenuSearchModule } from '@volo/abp.ng.theme.lepton/extensions';
@NgModule({
imports: [
// other imports are removed for sake of brevity
MenuSearchModule.forRoot({
limit: 3 // search result limit (default: Infinity)
}),
ThemeLeptonModule.forRoot({
contentBeforeRoutes: [MenuSearchComponent],
})
],
})
export class AppModule {}
```
Here is how the search input works:
Please note that the **search component** filters only the routes and cannot hide custom
{{else}}
> Be aware that custom CSS must contain all the styles that Lepton Theme uses. If you just want to overwrite some styles, you can use {{if UI== "Blazor"}}`global.css`{{else}}`global-styles.css`{{end}} in the `wwwroot` folder of your web project.
## How to Add a Custom CSS?
### Download Lepton Theme Source-Code
Download the Lepton Theme source-code to retrieve the existing CSS files. To do this create a new folder named as `LeptonTheme` in your project root folder and run the following ABP CLI command inside the `LeptonTheme` folder:
```bash
abp get-source Volo.LeptonTheme
```
### Copy to Your Project
In the following folder, you will find all the Lepton CSS files.
```bash
src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton\Themes\Lepton\Global\styles
```
The default theme uses `Lepton6.css`.
Create a folder named `styles` under the `wwwroot`folder of your web project.
Copy `Lepton6.css` to the `wwwroot/styles` folder and rename it to `custom.css`.
### Customize the CSS
Open `custom.css` and find the `.lp-opened-sidebar` style.
Comment out the existing background style and add the following background style which changes the main menu's background color.
```css
background: linear-gradient(7deg, #9f3049, #84a21f);
```

### Set the Style Path
Add the following code to the {{if UI== "MVC"}} `ConfigureServices` in the `YourProjectWebModule.cs` {{end}}{{if UI== "BlazorServer"}} `ConfigureServices` in the `YourProjectBlazorModule` {{end}}{{if UI== "Blazor"}}`wwwroot/appsettings.json` file{{end}}.
{{if UI== "MVC"}}
```csharp
Configure