Page 1 of 1

Menu: Visited pages are background = gray? Exclude them?

Posted: 02 Nov 2015, 08:26
by vished
Dear all,

It seems that each page which I visited in the right menu will get a grey background color.
I would like to exclude this and leave at it is (white color). Only the active menu should be has the background color grey.
How can I do this?

Re: Menu: Visited pages are background = gray? Exclude them?

Posted: 02 Nov 2015, 09:29
by mert.sincan
I think you can remove color of hover. please add this css in rio-layout.less;

Code: Select all

#layout-menu-cover:hover .layout-menu>li>a {
    background-color: white;
}

Or 

#layout-menu-cover:hover .layout-menu>li>a {
    background-color: white !important;
}

Re: Menu: Visited pages are background = gray? Exclude them?

Posted: 02 Nov 2015, 21:01
by vished
than it´s not working with hover for me.
Everytime if I hover over an menu entry it will be white but it should appear in grey.
But the visited menu entries should be in white.

How can I do this?

Re: Menu: Visited pages are background = gray? Exclude them?

Posted: 04 Nov 2015, 09:30
by mert.sincan
Example Menu hovers;

Code: Select all

.layout-menu>li>a:hover {
   background-color: #E0E0E0 !important;
}
.layout-menu>li>a.active-menu:hover {
   background-color: white !important;
}
.layout-menu li ul li a.active-menu:hover{
   background-color: white !important;
}
Please add them in rio-layout.less