Skip to content

Commit

Permalink
Update splash.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jessuppi authored Oct 8, 2022
1 parent 3f98f0c commit c6d4527
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions splash.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
<div id="splash">
<div id="splash" style="
background:linear-gradient(rgba(38, 50, 56, 0.7), rgba(240, 149, 128, 0.2)), url(<?php $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID), 'large' ); echo $url ?>);
background-position: center;
background-size:cover;
background-repeat:no-repeat;
">
<div class="inner">

<div id="welcome"><?php global $welcome; echo $welcome; ?></div>
<button class="cta-home">Learn More</button>

<?php if (is_front_page()) : ?>
<button class="cta-splash">Learn More</button>
<?php endif; ?>

<div class="clear"></div>
</div><!-- inner -->
</div><!-- splash -->

0 comments on commit c6d4527

Please sign in to comment.