- This topic has 6 replies, 4 voices, and was last updated 4 years, 10 months ago by David.
-
AuthorPosts
-
February 18, 2016 at 11:11 pm #173759Oleg
Hi!
I want to use UberMenu. I have included in the plugin settings option “Automatic Integration Theme Location”. I also added CSS:
@media screen and (max-width: 768px) { .menu-toggle, .main-navigation.toggled .main-nav > ul { display: none; } .main-navigation ul { display: block; } .ubermenu-responsive-toggle { display: block !important; } } @media screen and (min-width: 769px) { .ubermenu-responsive-toggle { display: none !important; } }
However, it still remains a problem. As if two menus are displayed simultaneously. Displays the standard menu search and arrow:
How to get rid of it?
February 18, 2016 at 11:46 pm #173772TomLead DeveloperLead DeveloperAh, you’ll want to remove the GP arrows.
Here’s your complete CSS:
@media screen and (max-width: 768px) { .menu-toggle, .main-navigation.toggled .main-nav > ul { display: none; } .main-navigation ul { display: block; } .ubermenu-responsive-toggle { display: block !important; } } @media screen and (min-width: 769px) { .ubermenu-responsive-toggle { display: none !important; } } .dropdown-menu-toggle, .search-item { display: none; }
That should do it 🙂
November 18, 2016 at 9:16 am #245614TomLead DeveloperLead DeveloperFor anyone else having issues with UberMenu, they have this awesome integration page: https://sevenspark.com/docs/ubermenu-3/theme-integration/generatepress
June 13, 2019 at 4:09 am #928148SamHi, I have followed the link provided by Tom regarding the integration by sevenspark, but it breaks the header, could their code be out of date?
if ( !function_exists( 'generate_navigation_position' ) ) { function generate_navigation_position(){ if( function_exists( 'ubermenu' ) ){ ubermenu( 'main' , array( 'theme_location' => 'primary' ) ); } } } /* Stop the theme from filtering the menu output */ add_action( 'wp_head' , 'stop_generatepress_menu_filter' ); function stop_generatepress_menu_filter(){ remove_filter( 'walker_nav_menu_start_el', 'generate_nav_dropdown', 10, 4 ); }
See here screen shot: https://www.dropbox.com/s/8idud4kldk5rx3f/Screenshot%202019-06-13%20at%2013.08.09.png?dl=0
Let me know if you have any ideas?
thanks
SamJune 13, 2019 at 6:37 am #928323DavidStaffCustomer SupportHi there,
this topic is rather old, could you raise a new topic and if possible can you provide a link to the site so we can take a look.
June 13, 2019 at 6:38 am #928325Samok.
June 13, 2019 at 6:39 am #928327DavidStaffCustomer SupportThanks
-
AuthorPosts
- You must be logged in to reply to this topic.