Update 404 page messaging and styling
This commit is contained in:
@@ -3,9 +3,9 @@
|
|||||||
get_header();
|
get_header();
|
||||||
?>
|
?>
|
||||||
<main id="main" class="site-main not-found">
|
<main id="main" class="site-main not-found">
|
||||||
<p class="hero-eyebrow"><?php esc_html_e( 'Error 404', 'c1024-2026' ); ?></p>
|
<p class="hero-eyebrow"><?php esc_html_e( 'Houston, we\'ve had a problem', 'c1024-2026' ); ?></p>
|
||||||
<h1 class="page-title"><?php esc_html_e( 'Signal lost.', 'c1024-2026' ); ?></h1>
|
<h1 class="error-title"><?php esc_html_e( 'Signal lost.', 'c1024-2026' ); ?></h1>
|
||||||
<p><?php esc_html_e( 'The page you requested could not be found. Search the archive or return to the home page.', 'c1024-2026' ); ?></p>
|
<p><?php esc_html_e( 'Die angeforderte Seite konnte nicht gefunden werden. Benutze die Suche oder gehe zurück zur Startseite.', 'c1024-2026' ); ?></p>
|
||||||
<?php get_search_form(); ?>
|
<?php get_search_form(); ?>
|
||||||
<p><a class="button" href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php esc_html_e( 'Return home', 'c1024-2026' ); ?></a></p>
|
<p><a class="button" href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php esc_html_e( 'Return home', 'c1024-2026' ); ?></a></p>
|
||||||
</main>
|
</main>
|
||||||
|
|||||||
@@ -324,6 +324,11 @@ h4 {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: clamp(2rem, 1.35rem + 2.5vw, 3.5rem);
|
font-size: clamp(2rem, 1.35rem + 2.5vw, 3.5rem);
|
||||||
}
|
}
|
||||||
|
.error-title {
|
||||||
|
margin: 0;
|
||||||
|
font-size: clamp(4rem, 2.7rem + 5vw, 7rem);
|
||||||
|
font-feature-settings: "ss05" 1, "liga" 1;
|
||||||
|
}
|
||||||
.archive-description {
|
.archive-description {
|
||||||
color: var(--muted);
|
color: var(--muted);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user