Dane wrote:But on one menu pount, it dont work. On "Über mich" it has no function, but in the other menu points it works.
This looks like a bug. Your URL contains special encoded characters (/Über-mich/ becomes /%C3%9Cber-mich/), which is blocking X3 from targeting the "active" menu item. I will try to solve it in next X3 release in a few weeks!
Dane wrote:But is this normal that the highlight comes only up when the mouse left the area of the menu?
"normal" probably not, but there are existing :hover effects from the X3 skin, and there are styles for both "active" state and "hover" state. With custom CSS styles overriding existing styles, these are issues you will run into. You can try this to make sure custom styles are prioritized:
body[class*="topbar"] .menu>li>a:hover {
color: white !important;
}
body[class*="topbar"] .menu>li>a.active {
background: #222 !important;
color: white;
font-weight: bolder;
}
Dane wrote:The second code for highlightning in white doest work. I dont know why.
The above should resolve that also. X3 CSS styles are complex, because they have to adjust to the specific skin and layout, and under special circumstances when "intro" plugins are used. Then, these styles need to be overridden by custom CSS.
I believe this will be much easier in a future version of X3.