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

Locked
vished
Posts: 446
Joined: 02 Feb 2014, 17:38

02 Nov 2015, 08:26

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?
PF 8.0

mert.sincan
Posts: 4348
Joined: 29 Jun 2013, 12:38

02 Nov 2015, 09:29

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;
}

vished
Posts: 446
Joined: 02 Feb 2014, 17:38

02 Nov 2015, 21:01

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?
PF 8.0

mert.sincan
Posts: 4348
Joined: 29 Jun 2013, 12:38

04 Nov 2015, 09:30

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

Locked

Return to “Rio”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest