Did you try to make the change in templates/yourtheme/html/com_k2/templates/team/item.php or templates/yourtheme/html/com_k2/templates/portfolio/category.php if those files exist in your theme ? To be shure, the best way for me is to make...
More