WordPress.org

Ready to get started?Download WordPress

Forums

JQuery Accordion Menu Widget
[resolved] Any way to add css class to your widget? (4 posts)

  1. George Mamadashvili
    Member
    Posted 3 years ago #

    This plugin was very helpful. I need to add WordPress native class to your widget widget_nav_menu, is there any filter to do this? or could you add this class in next release?

    Thanks

    George

    http://wordpress.org/extend/plugins/jquery-vertical-accordion-menu/

  2. remix4
    Member
    Plugin Author

    Posted 3 years ago #

    A custom class can be added to the widget wrapper when its registered in the functions.php file. Where does the class need to be added?

  3. George Mamadashvili
    Member
    Posted 2 years ago #

    remix4

    It would be great if you set $css_class to widget_nav_menu by default, this will make better practice for end users if they decide to switch widget, e.g. to WordPress native one and they won't lost widget styling

  4. remix4
    Member
    Plugin Author

    Posted 2 years ago #

    The plugin requires specific css rules in order to work correctly which is why it tried to avoid generic widget styling as this tends to have css rules, which interfere

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic