Skip to content
Snippets Groups Projects
Commit 36d7a304 authored by Jeff Sturek's avatar Jeff Sturek
Browse files

Add deprecated CSS

parent ad8709e5
No related branches found
No related tags found
1 merge request!24Add deprecated CSS
......@@ -58,6 +58,10 @@ if ($isEmbed && $_GET['embed'] === '1') {
$page->doctitle = '<title>Search | University of Nebraska&ndash;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}");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment