Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author sevenspark

    (@sevenspark)

    No, it does not.

    You can see in the code that this is how the class is added

    $args['container_class'].= ' responsiveSelectContainer';

    it is specifically written to append and not to override, for exactly the reasons you stated.

    If your classes are being replaced, they may have been added in a non-standard way. If they were added via parameters in the wp_nav_menu function as per the WordPress standard, there should be no compatibility issue.

    Plugin Author sevenspark

    (@sevenspark)

    Note that the class that WordPress adds by default is removed automatically by WordPress if the container_class argument is set. That is intended WordPress functionality and isn’t something that the plugin is changing – that’s just how the core wp_nav_menu code works. In your normal wp_nav_menu() function, simply pass the class that should appear and the RSM class will be appended appropriately.

    Hope that helps,

    Chris

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Container css class is replaced instead of added’ is closed to new replies.