- This topic has 61 replies, 6 voices, and was last updated 8 years ago by
Leo.
-
AuthorPosts
-
December 18, 2017 at 12:44 pm #452427
Cris
I add it at custom CSS.
Probably you can see it because WP Maintenance is on. Try it now.
December 18, 2017 at 4:27 pm #452508Tom
Lead DeveloperLead DeveloperI’m still not seeing it – I assume this is still the URL?: http://test.indalsu.com/domos/domo-79rt-eco-c16-ecoeficiente-thermicplus/
Try pasting the CSS into the child theme you have activated.
December 19, 2017 at 12:10 am #452681Cris
Yes, that is the URL
Do it!
December 19, 2017 at 10:05 am #453139Tom
Lead DeveloperLead DeveloperAh, replace
.main-navigationin your CSS with.secondary-navigation.December 19, 2017 at 10:44 am #453210Cris
Perfect!! Thanks you very much, Tom!!
April 27, 2018 at 6:31 am #561759Michael
Hi Tom,
we also use your current CSS code for fixing the submenu and it works fine with one exception if you are use the sticky navigation. For simplifying explanation I upload a short video: https://www.dropbox.com/s/xgnlk8xmcg30o5d/menu-scrolling.mp4?dl=0
Thanks,
MichaelApril 27, 2018 at 10:57 am #562018Tom
Lead DeveloperLead DeveloperCan you link me to your site?
April 29, 2018 at 9:49 am #563197Michael
Username and PW follow via e-mail (support@generatepress.com).
Thanks in advance
MichaelApril 29, 2018 at 9:03 pm #563465Tom
Lead DeveloperLead DeveloperThat’s so strange.
What happens if you remove the code you added, and simply give the parent menu items this class:
sfHoverAdding classes: https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#custom-classes
April 30, 2018 at 2:51 am #563618Michael
Nothing really new, the submenu disappears after opening the submenu item. I can’t recognize any other effect.
April 30, 2018 at 10:03 am #563956Tom
Lead DeveloperLead DeveloperOk, scrap that idea and go back to the CSS.
Then add this as well:
#sticky-placeholder { opacity: 0 !important; }May 1, 2018 at 8:35 am #564732Michael
It works perfectly 🙂
Thanks for the great support again,
Michael
May 1, 2018 at 8:47 am #564744Tom
Lead DeveloperLead DeveloperYou’re welcome 🙂
May 16, 2018 at 2:03 am #576812heliotrope
Hello,
We used to following css to keep our menu open. It works, But when we navigate to a page, the menu is closing again.
Here is category example page: http://www.mayelle.com/wpressmayelle/professionnel/ (menu remains open, it works)
And here , inside a project, it should remain open, but it doeesn’t work : http://www.mayelle.com/wpressmayelle/projets/pharmacie-centre-bruay-escaut-2-4-2/Any solution ?
.sidebar .main-navigation .main-nav .current-menu-item .sub-menu, .sidebar .main-navigation .main-nav .current-menu-ancestor .sub-menu { opacity: 1; left: auto; right: auto !important; position: relative; width: 100%; clear: both !important; top: auto; float: none; visibility: visible; pointer-events: auto; height: auto; display: block; } .sidebar .current-menu-item .dropdown-menu-toggle, .sidebar .current-menu-ancestor .dropdown-menu-toggle { display: none; }May 16, 2018 at 9:42 am #577258Leo
StaffCustomer SupportHi there,
Any chance you can open a new topic for your question?
This thread is quite long already.
Thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.