mixitup
mixitup copied to clipboard
I don't want to show all the categories.
hi I have ".category_1" ".category_2" ".category_3" I don't want all categories to be displayed at runtime, and I want the first category (.category_1) to be active.
<button class="filter button" data-filter=".category_1">category 1</button> <button class="filter button active" data-filter=".category_2">category 2</button> <button class="filter button" data-filter=".category_3">category 3</button>
But during the first run, all categories are displayed.
On mixitup.js
load: { filter: '.coaching',//put your own class with dot },