Formatting Navbar (again)

Hello,

Further to this post, I’m still struggling to get the (standard) navbar to look how I want it. However, I’m not entirely sure whether it is possible to achieve.

When the dropdown is shown it always seems to have a white background. In ‘:normal’ state, want all of my text to be white on a coloured background: white-on-white doesn’t really work.

My question is: is it possible to change the colour of the background of the dropdown and, if so, how do I achieve this?

So far, I have tried making adjustments to the following classes:

“.navbar”, “.navbar.nav” and “.navbar-nav li a”.

Many thanks,

Hugh

Hello Hugh,

Just select the list for the dropdown menu, add a new custom class and change the color of background to anything you want. Similarly, you can add custom class to all links and style the text in any way you want.

51%20AM

Cheers,
Eldar

Make sure you have you primary menu set to none. Then as Eldar suggests it works great.

Casey

Brilliant. Thank you @eldar and @casey1823.

The only thing I seem unable to change is the line height between text. Is this a custom subclass?

Thanks again,

Hugh

Did you try adjusting the padding instead of line height?

Casey

1 Like

Thanks @casey1823 - adjusting the padding helped.