<script type="text/javascript"> $(document).ready(function(){ $('.home-label').each(function(i,n){ if($(this).text()=="0") { $(this).css("display","none"); } } ); }); </script>