Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1222253
    oliver b
    Participant

    hello,

    i want to show in which parent navigation item the user is in a child page.
    (e.g. underlined) – how can i reach this?

    live sample:
    parent: https://richter-hintz.de/behandlungen/
    child: https://richter-hintz.de/behandlungen/chemical-peeling/

    i have tried this css in this ticket, but did not work for me:
    https://community.theme.co/forums/topic/making-parent-menu-item-active-when-on-child-page/

    i am using the stack renew.

    thanks
    oli

    ps versions: latest of everything

    #1222438
    Joao
    Moderator

    HI There.

    Go to Appereance > Customizer > Header > Turn On Breadcrumbs.

    Hope that helps

    Joao

    #1222460
    oliver b
    Participant

    thanks joao,

    i did this but this shows only the breadcrump. i want that the parent navigation item in the menu header is displayed as active (e.g. underlined).

    how to reach this?

    thanks
    oli

    #1222557
    Thai
    Moderator

    Hi Oliver,

    Please add the following CSS:

    .x-navbar .desktop .x-nav>li.current-page-ancestor>a>span {
        box-shadow: 0 2px 0 0 #90b332;
        color: #90b332;
    }

    Hope it helps 🙂

    #1222568
    oliver b
    Participant

    thanks it worked out. very very great! have a nice day! 🙂 oli

    #1222629
    Joao
    Moderator

    Glad to hear it,

    Joao

  • <script> jQuery(function($){ $("#no-reply-1222253 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>