diff --git a/www/index.php b/www/index.php index eb6ee0b9292aea48e64f9174788794b68ac6f85b..dc4d73c1a934ef914c6885fe6326d8733b303ab6 100644 --- a/www/index.php +++ b/www/index.php @@ -58,6 +58,10 @@ if ($isEmbed && $_GET['embed'] === '1') { $page->doctitle = '<title>Search | University of Nebraska–Lincoln</title>'; $page->head .= '<link rel="home" href="./" />'; + // Add WDN Deprecated Styles + $page->head .= '<link rel="preload" href="https://unlcms.unl.edu/wdn/templates_5.0/css/deprecated.css" as="style" onload="this.onload=null;this.rel=\'stylesheet\'"> <noscript><link rel="stylesheet" href="https://unlcms.unl.edu/wdn/templates_5.0/css/deprecated.css"></noscript>'; + + // no menu items, so hide mobile menu $page->addStyleDeclaration("#dcf-mobile-toggle-menu {display: none!important}");