XF 2.2 Edit sidebar color

FrancescoL

Active member
Good evening everyone. If I want to change the colors of my sidebar, which parts of the template should I edit?

Thanks for your attention.
 
Solution
Add this to your extra.less template:
Less:
.p-body-sidebar .block-container {
    background: #000;
}

Change the background value to suit your needs. This will change the background of sidebar blocks.
Add this to your extra.less template:
Less:
.p-body-sidebar .block-container {
    background: #000;
}

Change the background value to suit your needs. This will change the background of sidebar blocks.
 
Solution
Top Bottom