• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
  • Skip to user navigation

PopWP

WordPress and Genesis Tutorials

  • Get Started
  • About
  • Archive
  • Services
  • Membership
  • My Account

Responsive Hamburger Menu design in Genesis

Last Updated on April 25, 2022 Favorited: 0 times

This tutorial provides the steps to create a responsive hamburger menu in any theme based on the Genesis framework. The tutorial will also work for non-genesis themes with minor changes.

Tested on Genesis Sample 3.4.1

Preview:

https://popwp.com/images/2022/04/2022-04-25-11-33-44.mp4

Prerequisite:

none.

STEP 1

The first step is to disable the default Genesis responsive menu. In child-theme/functions.php find and comment out the code.

// Registers the responsive menus.
//if ( function_exists( 'genesis_register_responsive_menus' ) ) {
//	genesis_register_responsive_menus( genesis_get_config( 'responsive-menus' ) );
//}

Result:- Toggle Menu will disappear, and the Menu will be visible for desktop only.

STEP 2

Register a new Nav Menu using the following code in child-theme/functions.php

// * Register a Menu
add_action( 'init', 'register_my_menu' );
function register_my_menu() {
	register_nav_menu('hamburger-menu',__( 'Burger Menu' ));
}

STEP 3

Position the Nav Menu in the site header with the help of Genesis Hooks using the following code in child-theme/functions.php

To view the full content, please sign up for the membership.

Already a member? Log in below or here.

 
 
Forgot Password

Related Posts

  • Off-Canvas slide in-out responsive menu in Genesis
  • Expanding Search box in menu-item list in Genesis
  • Off-Canvas side slide in-out responsive menu in Genesis Sample
  • Responsive Menu in left, Logo in center and Offscreen Widget in Right in Genesis Sample
  • Slide in-out Responsive Menu forever in Genesis Sample 3.0.0

Categories: Genesis Tutorials, Premium Content Tags: hamburger menu, menu, responsive menu

Primary Sidebar

Search

WPEngine WordPress Hosting, Perfected.

Hosting You are looking for?.
Perfect solution for small business to global enterprise.

Learn more

StudioPress Genesis Theme Framework

The No.1 Theme Provider.
Creative, SEO rich Theme for all niche projects.

Learn more

Categories

  • Free Content
  • Genesis Tutorials
  • Premium Content
  • Snippets
  • What's New?
  • WordPress Tutorials

Tag Cloud

Archive Background Section blog canvas menu center logo columns conditional tags CSS CSS Grid custom Customizer custom post type Custom Post Types custom template Custom Widget effect eNews Extended Featured Image front-page Genesis Genesis Sample header right hero section Image Background js layout left menu Logo menu Navigation Menu newsletter post page related posts responsive menu search search widget Shrinking Logo site header slide in-out Stylesheet Template Utility Bar Video Background widgets WordPress

Built with Genesis Framework + WordPress by Aryan Raj

  • Contact
  • FAQ
  • Disclaimer
  • Privacy Policy
  • Copyright Policy
  • Terms of Service