Tagged: x
-
AuthorPosts
-
October 15, 2016 at 3:25 am #1217137
Hi Guys,
I’m using the Renew stack and I want to have the main navigation in the left sidebar. I’ve created a custom menu in a widget in the left sidebar and I would like to have the sub-menu items hidden until the mouse is hovered over the top level menu item. When hovered I would like the sub-menus then to pop out to the right of the top level item.
Some top level items have two levels of sub-menus items underneath.
I found the following two threads…
…which work to hide/show the sub-menus on hover however these make them drop down (expand/collapse, underneath) – I need them to pop out to the right with all the top levels staying static.
Is this achievable?
The site is currently showing a coming soon page so I will give you access in the message where I can mark it private.
October 15, 2016 at 3:30 am #1217141This reply has been marked as private.October 15, 2016 at 4:27 am #1217176Hello There,
Thanks for writing in! Do you want something like this?
If that is the case, please add the following css code in the customizer, Appearance > Customize > Custom > CSS
.widget_nav_menu ul li{ position: relative; } .widget_nav_menu ul li:hover .sub-menu{ position: absolute; left: 100%; top: -1px; z-index: 100; background-color: #fff; min-width: 190px; box-shadow: 4px 3px 4px rgba(0,0,0,0.35); }
We would loved to know if this has work for you. Thank you.
October 20, 2016 at 2:39 pm #1224353Thanks for reply however it didn’t work for me.
The example you’ve given above is exactly what I’m after but the code you’ve supplied isn’t doing it for me.
October 20, 2016 at 2:41 pm #1224355May I please add that, if it’s possible, I would only like the next level of subcategory to appear, not all levels (just like your example above) – if that makes sense.
October 20, 2016 at 2:45 pm #1224357What is currently on the website is the categories widget, in the sidebar – I have removed the custom menu for now. Alternatively, if we can make this same pop out happen with this categories widget, the problem would also be be solved.
October 20, 2016 at 5:03 pm #1224518The categories widget I refer to above is the “Product Categories”
October 20, 2016 at 9:50 pm #1224868Hi there,
That’s not possible with current widget, it’s not hierarchical. The structure is different from the previous one. Please switch to standard menu.
Thanks!
October 20, 2016 at 10:20 pm #1224882I’ve just discovered that I can move the navigation from the top to the side (in Customizer), which solves my problem – HOWEVER – I’ve just discovered a new problem.
I have installed and activated the plugin “ConvertPlug” and have a popup modal configured to appear on the home page but now the sub menu’s do not pop out anymore on the home page (they’re OK on other pages). When I de-activate ConvertPlug, the sub menus start working again.
Any suggestions?
October 21, 2016 at 1:02 am #1225005Hello There,
Have you tried using SuperFly menu? You can have a slidein or fixed sidebar menu. For more details about this plugin, please check out our knowledge base here: https://community.theme.co/kb/integrated-plugins-superfly/
Hope this helps.
October 21, 2016 at 2:38 am #1225094Thanks for the heads up about SuperFly, however, I have the menu sorted now.
Can you help me with the conflict between ConvertPlug and the submenus not working?
October 21, 2016 at 4:25 am #1225187Hi there,
Sub-menus are popping out correctly, you’ll have to hover over it or click the arrow down icon on mobile. Would you mind clarifying the issue you’re getting with ConvertPlug? Should it appear automatically or by the trigger? Because it never appears even on a desktop. Displaying it doesn’t make any difference.
Thanks!
October 21, 2016 at 4:55 am #1225211It was working because i had the modal paused. I have now made the modal live. May i kindly ask you to have another look now please?
October 21, 2016 at 7:42 am #1225365Hi,
To fix it, you can add this under Custom > Edit Global CSS in the Customizer.
.x-navbar-fixed-left .desktop li.menu-item-has-children:hover > .sub-menu { display:block !important; }
Hope that helps
October 21, 2016 at 4:44 pm #1225933Thanks for that, it’s working, BUT, only for the first level of sub-menus. As soon as I try to go to the second level of sub-menu, all sub-menus disappear.
There are several levels of sub-menu – some have 5.
-
AuthorPosts