WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Menu Cart
[resolved] current-menu-item not assigned (4 posts)

  1. rbergeron81
    Member
    Posted 1 year ago #

    When I click on the cart in the menu, the current-menu-item class doesn't get assigned to it.

    So it doesn't get highlighted with the background color like the other items in the top menu, my account and shop.

    http://backpacfundraising.com/

    http://wordpress.org/extend/plugins/woocommerce-menu-bar-cart/

  2. Jeremiah
    Member
    Plugin Author

    Posted 1 year ago #

    Hello!

    That isn't a function of this plugin. The plugin isn't assigned to an actual page in the same way that your other menu items are, so it won't be highlighted when you click on it. We may look into changing this behavior in the future, but it's not our top priority at this time. We'll look into this after our next release, though!

    Jeremiah

  3. rbergeron81
    Member
    Posted 1 year ago #

    Thanks Jeremiah.

    I appreciate the quick reply and the plugin is great btw.

    In retrospect, I suppose this feature isn't that important. Just being picky I guess.

  4. Jeremiah
    Member
    Plugin Author

    Posted 1 year ago #

    You're very welcome, and I'm glad you enjoy the plugin. :) I also really like the way you suggested this feature, as I hadn't thought of simply finding a way to add an active state to the item on click. That perspective may help in sorting out how to best get this done. Be sure to let us know if you need anything!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.