Support » Plugin: Genesis Nav Menu Amplified » Wrong class on containing

  • 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!

    http://wordpress.org/extend/plugins/genesis-nav-menu-amplified/

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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',

    Thanks!

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Wrong class on containing’ is closed to new replies.