javascript - Remove or hide the "all" category in a portfolio -
http://turnkey.advicemedia.com/semi-custom/
i'm trying figure out how ether hide or remove "all" category under portfolio. ideal scenario when goes portfolio page starts out blank , have chose 1 of 3 categories.
add jquery website, this:
code1 -
<script src="http://code.jquery.com/jquery-1.11.2.min.js"></script>
and after jquery reference, add code:
code 2 -
<script> $(document).ready(function(){ $("li[data-filter='all'])".remove(); $(".projects_holder .mix").hide(); }); </script>
copy code
<html> <head> // paste code 1 here // paste code 2 here <head> </html>