New Landing How can we help? Themeforest Theme Support Uplift Top bar product filter

Viewing 13 posts - 1 through 13 (of 13 total)
  • Posted in: Uplift
  • #286468
    micheal_w
    Member
    Post count: 498

    Hi guys,

    is it possible to have the top bar product filter on shop page be open by default?

    Thanks!

    #286472
    micheal_w
    Member
    Post count: 498
    This reply has been marked as private.
    #286474
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    .sf-mobile-shop-filters{
    display:block !important;
    }
    

    Thanks
    Mohammad

    #286476
    micheal_w
    Member
    Post count: 498
    This reply has been marked as private.
    #286668
    David Martin – Support
    Moderator
    Post count: 20834

    To hide the bar for mobile, you can use:

    @media (min-width: 768px) {
    .woo-aux-options { display: none; }
    }

    The changing layout seems to be caused by the plugin. I cannot replicate initially on my dev. Please test this:

    .woocommerce-ordering select {
        max-width: 125px;
    }
    #286774
    micheal_w
    Member
    Post count: 498
    This reply has been marked as private.
    #286776
    David Martin – Support
    Moderator
    Post count: 20834

    For mobile, not tablet right? Try this:

    @media only screen and (max-width: 767px) {
    .woo-aux-options { display: none; }
    }
    #286789
    micheal_w
    Member
    Post count: 498

    Hi David,

    I have widgets in the Woocommerce filter bar.
    By using your latest code, it hides the filter bar header itself but the content is still there…
    Can it be hidden on mobiles?

    Please note:
    I am using another css from Mohammad, because I want the filters open by default

    .sf-mobile-shop-filters {
      display: block!important;
    }

    (just wanted to let you know, it maybe interfere with your css)

    My original request was in summary:
    1. I would like the top filters open by default on desktop and tablet and closed on mobiles.
    …if that doesn’t work…
    2. I would like the top filters open by default on desktop and tablet and hidden on mobiles.

    Thanks for the help!

    #286973
    David Martin – Support
    Moderator
    Post count: 20834

    This CSS will result in this output:

    @media only screen and (max-width: 767px) {
      .woo-aux-options,
      .sf-mobile-shop-filters { 
        display: none!important; 
      }
    }

    #286981
    micheal_w
    Member
    Post count: 498

    Hi David,

    I’m not sure but it doesn’t work for me ๐Ÿ™
    See attached my setups and screenshots after cleared cache…

    What am I doing incorrectly?

    Attachments:
    You must be logged in to view attached files.
    #287161
    David Martin – Support
    Moderator
    Post count: 20834

    It because you are overriding this in your CSS using:

    .sf-mobile-shop-filters {
        display: block!important;
    }

    Test changing it to:

    .sf-mobile-shop-filters {
        display: block;
    }
    #287163
    micheal_w
    Member
    Post count: 498

    You’re champion! Thank you ๐Ÿ™‚

    #287360
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Great thanks to David.
    Mohammad

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.