Skip to content

Commit

Permalink
Hides the intro-image container if there is no intro image specified
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonW committed Mar 22, 2024
1 parent 67e1f10 commit 43043e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions page-portal-landing.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-4">
<?php if ($intro_img){ ?>
<div class="intro-image" style="background-image: url(<?php echo $intro_img ?>);">
</div>
<?php }?>
</div>
</div>
</div>
Expand Down

0 comments on commit 43043e6

Please sign in to comment.