Home › Forums › Support › Customising the nav menu This topic has 5 replies, 2 voices, and was last updated 7 years, 3 months ago by Tom. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts January 18, 2017 at 8:20 pm #265618 Asa Hi, I would like make my top navigation appear like http://www.marieclaire.com/ Specifically, with the hamburger icon appearing to the left, followed by the logo and then the regular nav links. What can I do to achieve this look? January 18, 2017 at 10:08 pm #265649 TomLead Developer Lead Developer Hi there, Possible with some custom code. Adding this PHP: remove_filter( 'wp_nav_menu_items','generate_menu_plus_slidebar_icon', 10, 2 ); add_action( 'generate_inside_navigation','tu_custom_menu_plus_slidebar_icon', 0 ); function tu_custom_menu_plus_slidebar_icon() { if ( ! function_exists( 'generate_menu_plus_get_defaults' ) ) return; $generate_menu_plus_settings = wp_parse_args( get_option( 'generate_menu_plus_settings', array() ), generate_menu_plus_get_defaults() ); // If the search icon isn't enabled, return the regular nav if ( 'desktop' !== $generate_menu_plus_settings['slideout_menu'] && 'both' !== $generate_menu_plus_settings['slideout_menu'] ) return $nav; echo '<li class="slideout-toggle"><a href="#generate-slideout-menu" data-transition="overlay"></a></li>'; } Adding PHP: https://docs.generatepress.com/article/adding-php/ Then add this CSS: https://docs.generatepress.com/article/adding-css/ Then upload your navigation logo: https://docs.generatepress.com/article/sticky-navigation/ Hope this helps π li.slideout-toggle { line-height: 0; } li.slideout-toggle a { color: #FFF; display: block; line-height: 60px; } Adding CSS: January 18, 2017 at 10:59 pm #265661 Asa π Thanks Tom. I have the hamburger icon hooked in, however the remove_filter doesn’t seem to hide the original icon which is currently sitting on the right. I now have 2 of them.. remove_filter( 'wp_nav_menu_items','generate_menu_plus_slidebar_icon', 10, 2 ); Any ideas? January 19, 2017 at 12:16 am #265680 TomLead Developer Lead Developer Try this: add_action( 'after_setup_theme','asa_remove_icon' ); function asa_remove_icon() { remove_filter( 'wp_nav_menu_items','generate_menu_plus_slidebar_icon', 10, 2 ); } January 19, 2017 at 11:07 pm #266026 Asa that worked a treat! Thanks so much for your support Tom π January 19, 2017 at 11:41 pm #266039 TomLead Developer Lead Developer You’re welcome π Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In