Okay
  Public Ticket #3166765
WooCommerce Sidebar product category widget
Closed

Comments

  •  2
    Responsivmedia started the conversation

    Hi,

    Is it possible to have the products category widget open på default on mobile devices? Now you must click on it to see the different categories

  •  8,839
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    @media only screen and (max-width: 999px) {
        .woocommerce #sidebar .widget.woocommerce:not(.no-widget-title) > ul, .woocommerce #sidebar .widget.widget_product_tag_cloud > div, .woocommerce #sidebar .widget.woocommerce-widget-layered-nav > .woocommerce-widget-layered-nav-dropdown {
            display: block !important;
        }
        .woocommerce #sidebar .widget.woocommerce:not(.widget_price_filter) h4 {
            pointer-events: none !important;
        }
        .woocommerce #sidebar .widget.woocommerce:not(.widget_price_filter) h4:before,.woocommerce #sidebar .widget.woocommerce:not(.widget_price_filter) h4:after {
            display: none !important;
        }
    }

    Thanks


    ThemeNectar Support Team