Navigation tree styling

1
  Hello everyone,  I have taken svg type of image instead of icon in navigation tree. So whenever menu is active I want to show that image in another color.  Please provide solution to achieve above use case. Thanks in advance.
asked
1 answers
1

Hi there,

 

You can use css filters to change the appearance of the nav images whilst they’re active.

Here I’ve added a filter to invert the image colours on an active (.active) item from the main navigation bar (.navbar-inner):

You can add other css filters to change the image colour as you please.

 

Hope this helps,

Liam

answered