• Skip to main content

Victor Font Consulting Group, LLC

The DEX Intranet Specialists

Call Us:

+1 919-604-5828

  • Home
  • Care Plans
    • Care Articles
    • Optional Subscriptions
  • Consultations
  • Products
    • Code Snippets
    • Public GitHub Repositories
    • Gist Snippets
    • Pastebin Snippets (Free)
    • Free Plugins
  • FAQs
  • Support
    • Graphic Design
  • Contact
    • Speakers
    • Portfolio
  • Resources
    • Free WordPress Video Training
    • Tutorials
    • Articles
    • Cybersecurity
    • EU Referral Network
You are here: Home / Computers and Internet / Programming / WordPress / Child Themes / Genesis Deactivate Superfish Menu Support

Genesis Deactivate Superfish Menu Support

By Victor M. Font Jr.
May 17, 2016Leave a Comment

Genesis Deactivate Superfish Menu, public domain image from pixabay.com

The Genesis Framework includes the popular jQuery Superfish Dropdown Menu Plugin. For most themes, the superfish extension is activated by default. Ever since the inclusion of superfish in Genesis, the method for deactivating it was as simple as including the following code snippet in your child theme's functions.php file:

Since the release of Genesis 2.2 however, the above snippet no longer works. This is because of the new accessibility features built into the Genesis Framework. The superfish extension is required if you enable drop-down-menu support for accessibility. Among other things, superfish provides the following functionality:

  • Support for touch devices
  • Timed delay on mouseout
  • Animations
  • Keyboard accessibility
  • Supports the hoverIntent plugin
  • Indicates the presence of submenus by adding CSS-based arrows to relevant anchors
  • Can show the path to your current page

With the support superfish provides, if you want a WCAG 2.0 compliant website, you need to leave the extension activated.

Deactivating Superfish

The Genesis function that tests for superfish support is genesis_superfish_enabled(). The source code is:

See the section in the return statement that reads genesis_a11y( 'drop-down-menu' ). This is the test for accessibility drop-down-menu support. So if you are using the Genesis accessibility features, you now have to turn off support for dropdown menus if you want to deactivate superfish. Look for a line similar to the following in your child theme's functions.php file:

Delete 'drop-down-menu', from the above line and add the following to functions.php:

  • 6shares
  • Facebook2
  • Twitter1
  • Pinterest0
  • LinkedIn2
  • Print
  • SMS1

About Victor M. Font Jr.

Victor M. Font Jr. is an award winning author, entrepreneur, and Senior IT Executive. A Founding Board Member of the North Carolina Executive Roundtable, he has served on the Board of Advisors, of the North Carolina Technology Association, the International Institute of Business Analysis, Association of Information Technology Professionals, Toastmasters International, and the North Carolina Commission for Mental Health, Developmental Disabilities, and Substance Abuse Services. He is author of several books including The Ultimate Guide to the SDLC and Winning With WordPress Basics, and Cybersecurity.

Reader Interactions

VictorFont.com runs on the Genesis Framework

Genesis FrameworkThe Genesis Framework empowers you to quickly and easily build incredible websites with WordPress. Genesis provides the secure and search-engine-optimized foundation that takes WordPress to places you never thought it could go.

Check out the incredible features and the selection of designs. It's that simple—start using Genesis now!

Click here to download The Genesis Guide for Absolute Beginners (PDF - 1.4 MB)

Leave a Reply Cancel reply

Your email address and website will not be published. Required fields are marked *
Posting a comment means that you agree with and accept our Comment & Product Review Policy

Call: +1 919-604-5828

Send us an E-mail

Accessibility Statement | Affiliate Marketing Disclosure | Capability Statement

Cookie Policy | Comment & Product Review Policy | Privacy Policy | Site Map | Terms & Conditions

Copyright © 2003–2023 Victor M. Font Jr.

Return to top of page