Skip to content

Commit

Permalink
Search Broken Banner
Browse files Browse the repository at this point in the history
  • Loading branch information
RobLoweMOJ committed Nov 19, 2019
1 parent 64dafd1 commit 0fb944d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion wp-content/themes/clarity/inc/enqueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

function enqueue_clarity_scripts() {
// CSS
wp_register_style( 'core-css', get_stylesheet_directory_uri() . '/assets/css/core.min.css', array(), '1.5.0', 'all' );
wp_register_style( 'core-css', get_stylesheet_directory_uri() . '/assets/css/core.min.css', array(), '1.5.1', 'all' );
wp_enqueue_style( 'core-css' );

wp_register_style( 'ie-css', get_stylesheet_directory_uri() . '/assets/css/ie.min.css', array(), null, 'screen' );
Expand Down
9 changes: 9 additions & 0 deletions wp-content/themes/clarity/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,16 @@
*/
get_header();
?>

<div id="maincontent" class="u-wrapper l-main t-search-results">
<div class="c-emergency-banner c-emergency-banner--service">
<div class="c-emergency-banner__meta">
<h1>Can't find what you're looking for?</h1>
</div>
<div class="c-emergency-banner__content ie_content full_banner">
<p>We are aware of a problem with the intranet search results. While we are working on it, you might not get the results you expect.</p>
</div>
</div>

<h1 class="o-title o-title--page">Search</h1>
<div class="l-secondary" role="complementary">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
&__content {
cms-fixes();
padding: 0 $spacing*2 $spacing*2 $spacing*2;

&.full_banner {
width: 90%;
}
a {
color: $link-colour;
font-weight: 700;
Expand Down

0 comments on commit 0fb944d

Please sign in to comment.