Moodle 3.8 & Boost > user menu and logged in user text

Moodle 3.8 & Boost > user menu and logged in user text

by James Yeo -
Number of replies: 1

Hello all,

Used Moodle for many years now and have just got around to upgrading to 3.8 - I've been editing elements of Boost to the correct corporate feel for my organisation using the Raw SCSS editor under 'appearance'.

I've managed to get the nav bar into the colour I want and the notification bell to be white, silver when moused over.

My issue is that I cannot seem to get the user menu to do the same. It's the same colour as the bar (presumably because my brand colour is set as this) and goes black when moused over.

I'd like to be able to add code to do the same as the notification icon, always white but silver when hovered over - any help appreciated.

example

Best

James

Average of ratings: -
In reply to James Yeo

Re: Moodle 3.8 & Boost > user menu and logged in user text

by Phuong Hoang -
Hi James,
You can add these codes;
1. To change the color of icons in the navbar

.navbar-light .navbar-nav .nav-link .icon {

    color: #fff!important;

}

- If you're using navbar-dark, change .navbar-light into .navbar-dark

2. To change the color of Username [usertext] after logging in

.usertext.mr-1 {

    margin-right: .25rem!important;

    color: #fff;

3. To change the color of [You are not logged in]

.usermenu .login {

    line-height: 2.25rem;

    color: #fff;

}

Hope it helps


Average of ratings: Useful (1)