show filter before products on mobile

Hi,

Is it possible to set the product filter to show before the products on mobile?

Thanks,

Comments

  • Hi,
    Please always attach a link so we can check it out. If the page is offline(localhost) then our help will be limited, you will have to contact us when the page is online. Also please make sure that the page is not under maintenance before you provide us the link.
    thanks
  • edited July 2020
    Hi,


    Thanks
  • Please paste that code into the Theme Options > Custom CSS & JS > JS
    jQuery(function($){
    if($(window).width() < 768) $('.sidebar').insertBefore('#Content');
    });
    You must be aware, because this code works only while the page is getting loaded, so if you will open it on desktop and then decrease it on mobile, nothing will happen, but if you will open it on mobile (or mobile width on desktop), then the sidebar with filters will be above the products.

    Thanks
  • Thanks!

    It works fine.
  • Hello!

    About the product filter, I would to ask you this doubt:

    Would be possible in PC and desktop to show a list filter, but in mobile  show the same filter but as a drop down filter?

    Many thanks.
  • I do not quite understand, you want to display the filter from the mobile on desktop?
    thanks
  • Sorry I try to explain better:

    On mobile the filter right now is perfect (as a drop down):

    image


    But in desktop I would like to show a list filter as you can see in this image:


    image

    Is just for user experience: In Desktop is better a list filter, but on mobile is much better a drop down filter.

    Thanks!
  • Where do you see that list filter? I was on that website you sent and I cannot see it on desktop, it's a dropdown too.
    Also, which browser do you use?

    Thanks
  • edited July 2020
    >Sorry thats because my site is on production so I  have letf onlye the drop down filter

    On my development site I have configuirated the two filter. You can view it here:
    http://dermomix.teveoonline-desarrollo.com/productos/
  • Sorry, but these filters are coming from the Yith plugin which is not supported by us.
    We do not know how this plugin works, and by looking at the source code of your website it simply will not be possible to achieve, because there is only the text in the html code :(

    Thanks
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.