[Resolved] Reorder filters plugin to be above products on mobile

Home Forums Support [Resolved] Reorder filters plugin to be above products on mobile

Home Forums Support Reorder filters plugin to be above products on mobile

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2230817
    Craig

    Hi Guys

    I am using a filter app to filter the products on my website. On the desktop, I am using hooks to position the filters “generate_before_left_sidebar_content” and this is great. When I am on mobile it positions the filters under the product.

    How do I position the filters above the product under the main navigation?

    Kind regards

    Craig

    #2230877
    David
    Staff
    Customer Support

    Hi there,

    you can position the left sidebar above the content on mobile by adding this CSS:

    @media(max-width: 768px) {
        #left-sidebar {
            order: -1;
        }
    }
    #2230945
    Craig

    Thank you David.

    That works

    Much appreciated.

    #2231071
    David
    Staff
    Customer Support

    Glad to hear that!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.