Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Nikita

    (@nko)

    Hey.

    If you mean an order of categories, displayed in Filter – it is not possible without code customizations. We have plans to add advanced filters in future updates of the Pro plugin version.

    Regards, nK.

    Hi!

    So, I figured out a way of doing this using CSS, since I needed to do the same. Basically I used display:flex and set a custom order based on the nth-child of the main vp-filter ul. So something like this:

    .vp-filter { display: flex; }
    .vp-filter div:nth-child(1) { order: 1; }
    .vp-filter div:nth-child(2) { order: 5; }
    .vp-filter div:nth-child(3) { order: 4; }
    .vp-filter div:nth-child(4) { order: 2; }
    .vp-filter div:nth-child(5) { order: 3; }

    Seemed to work exactly the way I needed it to!
    I hope this helps!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘change category order in frontend’ is closed to new replies.