• Resolved maliakoala

    (@maliakoala)


    Hi!

    I have filters (by category, size) on my woocommerce sidebar. I want it to appear before products on the mobile site. I tried to put them on the left/right woocommerce sidebar but it didn’t change the problem…

    Ideally I would like to have a drop-down menu on mobile.
    Can you help me ?

    Thanks 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,
    Please add this CSS inside Customize > Additional CSS:

    @media screen and (max-width: 768px) {
        .post-type-archive-product #primary {
            order: 1;
        }
    }

    Let me know if this doesn’t work. 🙂

    Thanks.

    Thread Starter maliakoala

    (@maliakoala)

    It works perfectly !

    Thanks 🙂

    Thread Starter maliakoala

    (@maliakoala)

    Hi! I’m back…

    I just realized that it don’t work on every pages…

    On the shop page it works great, the sidebar comes before products…
    But on the others pages of the head menu (pages by category of products), it always comes after products.

    Have you another solution for these pages ? 🙂

    Hi,
    Please replace previous code with this:

    @media screen and (max-width: 768px) {
        .tax-product_cat #primary,
        .post-type-archive-product #primary {
            order: 1;
        }
    }
    Thread Starter maliakoala

    (@maliakoala)

    Thanks 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Woocommerce sidebare before content’ is closed to new replies.