a:active – current page menu active link
-
Hello,
I would like to customize my menu on mobile and on PC version. The problem is that the global color of the theme affects active links at the menu and I cannot find the way how to change it.
I used for example for “Kontakt” in main menu this code and it works! After hover it becomes yellow..menu-item-18309 a:hover {
color: yellow !important;
}But the problem is with a:active. When I implement this code, it does not work at all. I even added opacity for 1.
.menu-item-18309 a:active {
color: red !important;
opacity: 1 !important;
}In general my goal is to change the color of every active link at the menu on PC version and also mobile version, but I cannot find any solution which may work.
Before I used another code, which is:
.current-menu-item > a {
color:red !important;
}That one in general works, but… when I open mobile version and then open dropdown mobile menu, then it does not work for those categories at the mobile menu, which are as a second category of the menu. And I cannot find the way how to customize it. Does anyone have any idea?
The page I need help with: [log in to see the link]
The topic ‘a:active – current page menu active link’ is closed to new replies.