Genesis Nav Menu Amplified
Wrong class on containing (3 posts)

  1. Mickey Kay
    Posted 3 years ago #

    Hi there,

    First off, great plugin - we use it all the time! Here's my question:

    Genesis uses the class menu-primary on the containing

      for it's main menu, but your plugin is using the class primary-menu. This creates a problem when we're trying to craft simple CSS that will work whether or not the client chooses to use your plugin or just hand-build a custom menu. I would prefer not to have write 2 sets of selectors for every style rule we make.

      Is there a reason why you've chosen a different class name?
      Is there an easy way to revert to the the default Genesis class name?
      I saw the following bit in your changelog but it doesn't seem to be true:

      1.0 (3-19-2012 : Current)
      menu-primary, menu, and menu-secondary classes for newer child theme compatibility

      Any tips? Thanks!


  2. Mickey Kay
    Posted 3 years ago #

    PS - I found the offending code. It's line 55 in structure.php:

    This is what you've got:
    'menu_class' => genesis_get_option( 'nav_superfish' ) ? 'menu-primary menu nav superfish' : 'primary-menu menu nav',

    And this is what it should be:
    'menu_class' => genesis_get_option( 'nav_superfish' ) ? 'menu-primary menu nav superfish' : 'menu-primary menu nav',


  3. Mickey Kay
    Posted 2 years ago #

    Any update on this one? Is this plugin still maintained?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Genesis Nav Menu Amplified
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic