From 36d7a304df917f884f058cb6b501b6d6e6ce3692 Mon Sep 17 00:00:00 2001 From: Jeffrey Sturek <jsturek8@unl.edu> Date: Tue, 29 Oct 2019 14:58:25 -0500 Subject: [PATCH] Add deprecated CSS --- www/index.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/www/index.php b/www/index.php index eb6ee0b..dc4d73c 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}"); -- GitLab