• 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

Remove default Responsive Menus and add custom menu in Genesis Sample 3.0.0+

Last Updated on September 1, 2019 Favorited: 0 times

The newer Genesis Sample doesn't have responsive-menus.js by default and enqueue directly from the Genesis Framework.

STEP 1

Remove the default Responsive menus.

We can remove it by deleting the following lines in child-theme/functions.php

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

Now, the file genesis-sample/config/responsive-menus.php will not work and a new menu setting will be required.

Now,

To Add the Responsive menu in Genesis Sample. Create a file responsive-menus.js and(.min.js) under /js/folder. Create a folder /js/ if it is not present in child-theme.

You can simply copy both files from genesis/lib/js/menu/

Now it is time to enqueue the script and Menu Settings.

STEP 2

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

Already a member? Log in below or here.

 
 
Forgot Password

Related Posts

  • Responsive Hamburger Menu design in Genesis
  • Off-Canvas slide in-out responsive menu in Genesis
  • Expanding Search box in menu-item list in Genesis
  • Slide in-out Responsive Menu forever in Genesis Sample 3.0.0
  • Slide in-out Responsive Menu in Genesis Sample 3.0.0

Categories: Genesis Tutorials, Premium Content Tags: menu, menu toggle, responsive menus

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