Support » Plugin: WooCommerce » Use current_page_item for entire shop

Viewing 1 replies (of 1 total)
  • Roy Ho


    There is a way but not very elegant. You can prepend a class in front of your webshop class with “woocommerce-page”.

    So say your webshop menu button has the class “webshop” then your CSS will look like:

    .woocommerce-page .webshop { // show flag }

Viewing 1 replies (of 1 total)
  • The topic ‘Use current_page_item for entire shop’ is closed to new replies.