Customize Boost tab colour

Re: Customize Boost tab colour

by Jean-Roch Meurisse -
Number of replies: 1
Picture of Core developers Picture of Plugin developers Picture of Testers

Hi Ulrike,

To change the color of active tab in nav drawer use the following css rule

#nav-drawer .list-group-item.active {
    background-color: #yourcolourcode;
    border-color: #yourcolourcode;
}

According to your preferred colour, maybe you'll have to adapt font color as well.

As for "hidden to students", try this

.availabilityinfo .tag-info {
    background-color: #yourcolourcode;
}

It will change background-color for all types of restrictions in course page. If you want to change the colour only for "hidden to students restriction" the rule is

.availabilityinfo.ishidden .tag-info

Hope it helps

Average of ratings: Useful (2)
In reply to Jean-Roch Meurisse

Re: Customize Boost tab colour

by Ulrike Albers -

Hello Jean-Roch,

I'm sorry I just answer now (I forgot to subscribe to the discussion..) Thank you so much for your help!!!

This is exactly what I was looking for!

Best regards,

Ulrike