rexjiang92
3/23/2017 - 8:44 PM

if there's only one team member, center the image within the locarno team block

if there's only one team member, center the image within the locarno team block

<script>
$(document).ready(function(){
    if ($(".view-team-member-navigation .view-content .views-row").length === 1){
          $(".views-row-1 .team-nav-wrapper").addClass("col-sm-offset-6");
          $("#block-views-team_member_navigation-block_2 .carousel-control").hide();
    }
});
</script>