Вопрос

I'm using this tutorial to add a interactive portfolio to Yoothemes Zoo. When clicking on a category the items hide for a brief moment, but suddenly show up. And a "fail" class is added to the DIV with portfoliolist ID. Here is the demo page.

I think I implented everything correctly, but I can miss something.

Here is the link to the page.

THanks.

Это было полезно?

Решение

I fixed this with using the library that you can download directly from the mixitup site. Added this css;

#portfoliolist .mix{
    display: none;
}

And the following JS;

$(function(){
    // Instantiate MixItUp:
    $('#portfoliolist').mixItUp();
});
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top