-
Author
-
November 25, 2015 at 18:33 #89048ingrimmParticipant
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.November 26, 2015 at 18:37 #89302RaduModeratorHi,
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 solutionNovember 26, 2015 at 20:37 #89375ingrimmParticipantHi 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
November 29, 2015 at 14:58 #89953ingrimmParticipantHi Radu, just a reminder, did you get the chance to look into the issue mentioned above?
Please keep me posted.
Thanks,
Michael
November 30, 2015 at 16:18 #90088RaduModeratorHi 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 solutionDecember 1, 2015 at 00:51 #90209ingrimmParticipantHi Radu,
i have removed my tests and added the problematic menu again.
Thanks,
Michael
December 1, 2015 at 16:29 #90329RaduModeratorHi,
Please try this css
The css will be added to wp-admin -> theme options -> general settings -> quick cssCOPY 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 solutionDecember 1, 2015 at 21:48 #90391ingrimmParticipanthi 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.
December 2, 2015 at 15:14 #90555RaduModeratorHi,
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 solutionDecember 2, 2015 at 21:28 #90746ingrimmParticipantHello 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;}
December 3, 2015 at 17:58 #90929RaduModeratorYou’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 -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.