Hide featured image if image is loaded in template

This commit is contained in:
Brian Miyaji
2015-09-18 11:11:45 +10:00
parent 12a39e31e6
commit 21847d2471
2 changed files with 16 additions and 8 deletions

View File

@@ -124,14 +124,14 @@
}
/* Featured Image */
.single-sp_team .wp-post-image,
.single-sp_player .wp-post-image,
.single-sp_staff .wp-post-image {
.single-sp_team.sp-show-image .wp-post-image,
.single-sp_player.sp-show-image .wp-post-image,
.single-sp_staff.sp-show-image .wp-post-image {
display: none;
}
.single-sp_team .sp-template .wp-post-image,
.single-sp_player .sp-template .wp-post-image,
.single-sp_staff .sp-template .wp-post-image {
.single-sp_team.sp-show-image .sp-template .wp-post-image,
.single-sp_player.sp-show-image .sp-template .wp-post-image,
.single-sp_staff.sp-show-image .sp-template .wp-post-image {
display: block;
}