- This topic has 8 replies, 3 voices, and was last updated 1 year, 6 months ago by
David.
-
AuthorPosts
-
January 26, 2021 at 10:33 am #1634627
Jean-Pol
Hello, I use the HeroMenu plugin with GeneratePress.
Everything works correctly except the mobile version of the HeroMenu, which appears inside a sky blue block ( = color of the GeneratePress menu) when I’m on mobile.How to get rid of the default mobile menu (not enabled on theme customization). The HeroMenu is set on main menu.
Thanks for your help.
January 26, 2021 at 12:10 pm #1634742Leo
StaffCustomer SupportHi there,
Just to make sure, are you trying to remove this entire element here?
https://www.screencast.com/t/OjV9YLrELDocumentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 26, 2021 at 12:19 pm #1634757Jean-Pol
Yes Leo.
January 26, 2021 at 12:33 pm #1634771Leo
StaffCustomer SupportTry this CSS:
@media (max-width: 768px) { .main-navigation { display: none; } }
Adding CSS: https://docs.generatepress.com/article/adding-css/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 26, 2021 at 2:31 pm #1634890Jean-Pol
Don’t work, Leo. If I do that, all the navigation block is gone. I need this block to allow HeroMenu to insert his stuff :
https://cln.sh/brVATC
I dont understand why the hamburger menu is there, as no menu is connected in the GeneratePress params.January 27, 2021 at 12:17 am #1635157Jean-Pol
I just installed a simple test site with only GeneratePress Premium.
I created a menu that I didn’t associate with a location!
In desktop mode, the menu does not appear. In mobile mode, the hamburger menu is clearly visible (it doesn’t open anything, of course). Bug ???
This is I think my problem with HeroMenu. It wants to be grafted to the main navigation location, and on mobile, there is already something.
January 27, 2021 at 4:44 am #1635385David
StaffCustomer SupportHi there,
if this is the correct plugin, they provide documentation for manual integration:
https://heroplugins.com/product/hero-menu/documentation/#8.-menu-integration
So you can disable the themes Primary Navigation by setting its Location to No Navigation.
Then use a Hook Element to out insert the shortcode the plugin provides.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 27, 2021 at 4:48 am #1635387Jean-Pol
Thanks David. Yes, it’s the correct plugin. I’ll try to do a manual install.
But, is it a bug to see the hamburger menu on mobile without wordpress menu ?
January 27, 2021 at 7:18 am #1635744David
StaffCustomer SupportI am not able to replicate the issue on a default install.
So it may be the way that plugin is integrating into the theme Nav. I’ll do some more tests but nothing so far 🙂Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.