This topic has 10 replies, 2 voices, and was last updated 9 years by Radu.

  • Author
  • #89048
     ingrimm
    Participant

    Hi,

    I’m looking for a way to make a sidebar menu widget not collapse on reload by default. At the moment, every refresh collapses all open sidebar submenus. I want to remove that and keep the branch with the current Menu item open.

    The screenshot below should illustrate my problem.

     

    Thanks in advance.

    Attachments:
    You must be logged in to view attached files.
    #89302
     Radu
    Moderator

    Hi,

    Did you solve the issue ?

    I’ve accessed now your website and it shows all menu items closer (collapsed)

    Cheers

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #89375
     ingrimm
    Participant

    Hi Radu,

    no, thats not what i want. I need the Menu to stay open.

    For Example: A User klicks on COPD in the Menu Item “Spezialisierung”. The Page loads, the Sidebar Menu shows the Menu structure with “Spezialisierung” Menu openened and “NOT” collapsed.

    Can you help me with that?

    Thanks in advance,

    Michael

    #89953
     ingrimm
    Participant

    Hi Radu, just a reminder, did you get the chance to look into the issue mentioned above?

    Please keep me posted.

    Thanks,

    Michael

    #90088
     Radu
    Moderator

    Hi again,

    I’m not able to view the menu, do you have remove it ?

    If you still need that please revert back to can make some tests

    Cheers

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #90209
     ingrimm
    Participant

    Hi Radu,

    i have removed my tests and added the problematic menu again.

    Thanks,

    Michael

    #90329
     Radu
    Moderator

    Hi,

    Please try this css
    The css will be added to wp-admin -> theme options -> general settings -> quick css

    COPY CODE
    
    .sidebar .current-menu-parent ul.sub-menu {
        display: block !important;
    }
    

    Let me know if it works.

    Cheers

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #90391
     ingrimm
    Participant

    hi Radu,

    it works almost.
    When i click on a submenu-item the parent item is opened at reload. Thats perfect.
    But when i click on the parent element, i want the submenu-to open as well after the reload.

    For example: click on “Praxis” and the submenu doesnt show after the reload.

    We’re almost there, Thanks so far.

    #90555
     Radu
    Moderator

    Hi,

    The css will be added to wp-admin -> theme options -> general settings -> quick css

    COPY CODE
    
    .sidebar ul.menu li.parent ul.sub-menu {
        display: block !important;
    }
    

    Let me know if it works.

    Cheers

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #90746
     ingrimm
    Participant

    Hello Radu,

    thank you for your help. A slight variation of your last css snippet helped me.

    it was:

    .sidebar .current-menu-item ul.sub-menu {display: block !important;}

    #90929
     Radu
    Moderator

    You’re welcome,

    Also don’t forget to rate our theme on Themeforest and give it 5 stars 🙂

    http://themeforest.net/downloads/

    Best regards

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 11 posts - 1 through 11 (of 11 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?