WooCommerce - excelling eCommerce
Use current_page_item for entire shop (2 posts)

  1. QuincyRossieau
    Posted 2 years ago #

    On http://www.pizzawereld.nl/cms i use the .current_page_item to display the flag under the button "Webshop".

    It works when you are in the main page of the shop, but when you click on a category or a product the flag dissapears.

    Is there any way to display it throughout the shop?


  2. Roy Ho
    Posted 2 years ago #

    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 }

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic