Skip to content

Commit 4bb32b7

Browse files
Return dark background for pages
1 parent d447f8a commit 4bb32b7

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

themes/osi/template-parts/header-featured-image.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@
2323
</div>
2424
</div>
2525
</header>
26+
<?php elseif ( is_page() ) : ?>
27+
<header class="entry-header cover--header no-thumbnail">
28+
<div class="wp-block-cover alignfull has-neutral-dark-background-color has-background-dim-100 has-background-dim">
29+
<div class="wp-block-cover__inner-container">
30+
<?php echo ( ! empty( $page_title ) ) ? '<h1 class="entry-title page--title">' . esc_html( $page_title ) . '</h1>' : ''; ?>
31+
<?php osi_the_page_dates(); ?>
32+
</div>
33+
</div>
34+
</header>
2635
<?php else : ?>
2736
<header class="entry-header cover--header no-thumbnail">
2837
<div class="wp-block-cover alignfull">

0 commit comments

Comments
 (0)