Crows
Crows

Reputation: 11

Is possible to change sidebar color when using AdminLTE template?

I'm using AdminLTE version 3.2 template and I want to change the color on the sidebar of the template. Is that possible? I mean except dark and light color

Thanks

Upvotes: 1

Views: 8662

Answers (3)

Alvimar
Alvimar

Reputation: 498

I find it at https://github.com/ColorlibHQ/AdminLTE/issues/1164.

It will change if you add !important like: .main-sidebar { background-color: #333 !important }.

Change the color value as you desire.

Upvotes: 0

Hadayat Niazi
Hadayat Niazi

Reputation: 2480

you can change it with it's given class or custom style

sidebar-dark-primary is responsible for changing the background color of the sidebar

<aside class="main-sidebar sidebar-dark-primary elevation-4"

with custom style

<aside class="main-sidebar sidebar-dark-primary elevation-4" style="background-color: green">

or

<aside class="main-sidebar sidebar-dark-primary elevation-4" style="background-color: #ffff">

Upvotes: 0

Rizki Ramdhani
Rizki Ramdhani

Reputation: 41

it's very possible you just need to change the original css file from its AdminLTE according to your needs.

Upvotes: 0

Related Questions