Skip to content

Commit

Permalink
Merge pull request #274 from nationalarchives/portal-image-fix
Browse files Browse the repository at this point in the history
Hides the intro-image container if there is no intro image specified
  • Loading branch information
sdwilkes authored Mar 26, 2024
2 parents 67e1f10 + 43043e6 commit 8bdd4f9
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 8bdd4f9

Please sign in to comment.