• Hi!
    Sidebar OceanWP Custom Menu. If the current page’s menu item is one or more level down, is there a way to have the menu stay open showing the current menu item?

    • This topic was modified 3 years, 1 month ago by Argentum.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @argentum,

    Please share a live URL from your issue.
    If I understand correctly; You can use the custom CSS to solve it. Please put the CSS below in Customizing > Custom CSS/JS > CSS Code:

    #wrap .widget-oceanwp-custom-menu .current-menu-item a {
        color: #f50000 !important;
    }
    
    #wrap .widget-oceanwp-custom-menu .current-page-ancestor.current-menu-ancestor > ul {
        display: block !important;
        opacity: 1 !important;
    }

    Also, you can learn how to use Chrome Developer Tools or Firefox Developer Tools to help you see and test changes to your CSS:
    https://developers.google.com/web/tools/chrome-devtools/
    https://developer.mozilla.org/en-US/docs/Tools
    CSS Tutorial: https://www.w3schools.com/css/

    I hope that helps.
    Best Regards

    • This reply was modified 3 years, 1 month ago by Shahin.
    Thread Starter Argentum

    (@argentum)

    Hi, thanks for your answer. Perhaps I didn’t make myself clear. I think the problem will need some javascript?. It’s like this.
    Example Page structure
    Home
    Products +
    – Skis
    – Rental
    Contact

    When I visit the home page, menu looks like this (as it should)

    Home
    Products +
    Contact

    When I visit the Rental page, I want the menu to be open, showing the visitor where they are.
    Home
    Products ^
    – Skis
    Rental
    Contact

    • This reply was modified 3 years, 1 month ago by Argentum.
    • This reply was modified 3 years, 1 month ago by Argentum.
    • This reply was modified 3 years, 1 month ago by Argentum.
    • This reply was modified 3 years, 1 month ago by Argentum.

    Hello @argentum,

    Thank you for reaching out,
    We would forward it to the developer team to be checked and, if possible, to be added in the next updates.

    Thank you for your suggestion.

    Best Regards

    Thread Starter Argentum

    (@argentum)

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘OceanWP custom menu, current menu item in submenu open’ is closed to new replies.