Plugin Author
malihu
(@malihu)
Hello,
Your menu links contain different, separate HTML elements for the underline and text, so you need to style those the same way your theme does:
.main-nav > li:not(.wpml-ls-item) > a.mPS2id-highlight .menu-text{
color: #8b0e13;
}
.upwards-line > li > a.mPS2id-highlight .menu-item-text:before{
opacity: 1;
-ms-transform: translateY(0); -webkit-transform: translateY(0); transform: translateY(0);
}
The above will highlight your menu links the same way as your theme (underlined + color).
If you don’t want the background color, you should also remove the CSS you added before:
.menu-item a.mPS2id-highlight {
background-color: #dad9d7;
}
The “Über uns” link is highlighted by your theme (not the plugin). Almost every theme highlights same-page links to show the user the page he/she is on.
If you want to make the “Über uns” link behave like the other links (and be handled by “Page scroll to id”), you need to create a target for your 1st section (e.g. home) and give the link a URL with that id hash (e.g. #home). Just like you did with the other links.
Let me know if this helps
-
This reply was modified 9 years, 3 months ago by
malihu.
-
This reply was modified 9 years, 3 months ago by
malihu.
Hi,
thanks a lot for the great support! It works fine and Im very happy.
Best regards and greetings from germany