• Resolved feinesammlung

    (@feinesammlung)


    Dear malihu,

    i like to set the highlight options in the same class like the menu in the page but i dont now how i can chance the menu color and the underline. Im only able to change the background. Also the highlighted menu “Über uns” shoud be disabled when scrolling to a an other anker: for example Gasthaus

    The Link to the page is: http://wendlandthof.de.w015a9e6.kasserver.com/ueber-uns

    I hope you can help.

    Thank`s a lot

    Best regards from germany

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.
    Thread Starter feinesammlung

    (@feinesammlung)

    Hi,

    thanks a lot for the great support! It works fine and Im very happy.

    Best regards and greetings from germany

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘highlight options’ is closed to new replies.