Skip to content

Commit

Permalink
Wrap *-full-width-image.php h1 in div
Browse files Browse the repository at this point in the history
  • Loading branch information
crftwrk committed Jun 28, 2023
1 parent 4f5e9b7 commit cdb8a60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion page-templates/page-full-width-image.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
<?php $thumb = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'full'); ?>
<header class="entry-header featured-full-width-img height-75 bg-dark text-light mb-3" style="background-image: url('<?= $thumb['0']; ?>')">
<div class="<?= bootscore_container_class(); ?> entry-header h-100 d-flex align-items-end pb-3">
<h1 class="entry-title"><?php the_title(); ?></h1>
<div>
<h1 class="entry-title"><?php the_title(); ?></h1>
</div>
</div>
</header>

Expand Down
4 changes: 3 additions & 1 deletion single-templates/single-full-width-image.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
<?php $thumb = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'full'); ?>
<header class="entry-header featured-full-width-img height-75 bg-dark text-light mb-3" style="background-image: url('<?= $thumb['0']; ?>')">
<div class="<?= bootscore_container_class(); ?> entry-header h-100 d-flex align-items-end pb-3">
<h1 class="entry-title"><?php the_title(); ?></h1>
<div>
<h1 class="entry-title"><?php the_title(); ?></h1>
</div>
</div>
</header>

Expand Down

0 comments on commit cdb8a60

Please sign in to comment.