I have problems with this code, because I want to register the case, however I want to remove the tab where everyone appears, either part of each selected!
The first tab is to show all (I want to disable), I want it to start straight from test1, but it does not start, it always shows all
//* Isotope js
function protfolioIsotope(){
if ( $('.portfolio').length ){
// Activate isotope in container
$(".portfolio_inner").imagesLoaded( function() {
$(".portfolio_inner").isotope({
layoutMode: 'fitRows',
});
});
// Add isotope click function
$(".portfolio_filter li").on('click',function(){
$(".portfolio_filter li").removeClass("active");
$(this).addClass("active");
element.removeAttribute('data-filter');
var selector = $(this).attr("data-filter");
$(".portfolio_inner").isotope({
filter: selector,
animationOptions: {
duration: 450,
easing: "linear",
queue: false,
}
});
return false;
});
//* Simple LightBox js
$('.imageGallery .light').simpleLightbox()
};
};
@import 'https://www.quattropublicidades.com.br/starck/css/bootstrap.min.css';
@import 'https://www.quattropublicidades.com.br/starck/css/font-awesome.min.css';
@import 'https://www.quattropublicidades.com.br/starck/css/style.css';
<!-- jQuery v3.3.1 -->
<script src="https://www.quattropublicidades.com.br/starck/js/jquery-3.3.1.min.js"></script><!--Bootstrapv4.0.0--><scriptsrc="https://www.quattropublicidades.com.br/starck/js/popper.min.js"></script>
<script src="https://www.quattropublicidades.com.br/starck/js/bootstrap.min.js"></script><scriptsrc="https://www.quattropublicidades.com.br/starck/vendors/parallaxmouse/parallax.min.js"></script>
<script src="https://www.quattropublicidades.com.br/starck/vendors/lightbox/simpleLightbox.min.js"></script><scriptsrc="https://www.quattropublicidades.com.br/starck/vendors/isotope/imagesloaded.pkgd.min.js"></script>
<script src="https://www.quattropublicidades.com.br/starck/vendors/isotope/isotope.pkgd.min.js"></script><sectionclass="portfolio">
<div class="container">
<div class="row">
<h2 class="col-xl-3 tittle">Meus Trabalhos</h2>
<ul class="portfolio_filter col-xl-9">
<li class="active" data-filter="*"><a href="#">todos</a></li>
<li data-filter=".teste1"><a href="#"> teste1</a></li>
<li data-filter=".teste2"><a href="#">teste2</a></li>
<li data-filter=".teste3"><a href="#">teste3</a></li>
</ul>
</div>
<div class="row portfolio_inner">
<div class="col-lg-3 col-sm-6 graphic creative project teste1">
teste 1
</div>
<div class="col-lg-3 col-sm-6 graphic creative project teste2">
teste 2
</div>
<div class="col-lg-3 col-sm-6 graphic creative project teste3">
teste 3
</div>
</div>
</div>
</section>