-
-

This file was not found.

-
- + + + + + + +
+

The requested content was not found.

+
+ + +
diff --git a/functions.php b/functions.php index 655eb002..fa1647be 100644 --- a/functions.php +++ b/functions.php @@ -324,6 +324,17 @@ function mitlib_widgets_init() { 'after_title' => '', 'class' => '', ) ); + + register_sidebar( array( + 'name' => __( 'Migrated Content Notice', 'twentytwelve' ), + 'id' => 'sidebar-404', + 'description' => __( 'Appears on the 404 page, allowing individual sites to post notices about migrated content', 'twentytwelve' ), + 'before_widget' => '', + 'before_title' => '

', + 'after_title' => '

', + ) ); + } add_action( 'widgets_init', 'mitlib_widgets_init' ); From a65fcdae39a170f9e9485cb9bee8da6c897a0384 Mon Sep 17 00:00:00 2001 From: Matt Bernhardt Date: Wed, 4 Sep 2019 12:43:58 -0400 Subject: [PATCH 3/3] Extends 404 styling based on .entry-content --- css/style.css | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/css/style.css b/css/style.css index 10a2965d..39f29d75 100644 --- a/css/style.css +++ b/css/style.css @@ -1265,26 +1265,39 @@ a.comment-edit-link:hover { /* Search Form / 404 page -------------------------------------------------------------- */ -.error404 .entry-header { +article.error404 .entry-header, +article.error404 h2.widget-title { margin: 3rem 0; border-bottom: 1px solid #ccc; padding-bottom: 2rem; } -.error404 .entry-content h2 { - font-size: 18px; +article.error404 h2.widget-title, +article.error404 h1.entry-title { + font-size: 25px; font-weight: normal; margin-top: 1em; } -.error404 .entry-content form { - margin-bottom: 2r em; +article.error404 .entry-content form { + margin-bottom: 2rem; } -.error404 p { +article.error404 p { margin: 1em 0; } +article.error404 ul { + margin-bottom: 10px; +} + +article.error404 ul li { + list-style: disc; + margin-left: 40px; + margin-bottom: 5px; + line-height: 23px; +} + /* =Media queries -------------------------------------------------------------- */