diff --git a/blocks/header/header.js b/blocks/header/header.js index b3000b71..1cff63eb 100644 --- a/blocks/header/header.js +++ b/blocks/header/header.js @@ -198,7 +198,7 @@ function addClassesToMenuItems(element, depth) { if (parentElement.tagName.toLowerCase() === 'strong') { link.setAttribute('target', '_blank'); } - if (link && link.href === window.location.pathname) { + if (link && link.pathname === window.location.pathname) { item.classList.add('active'); } const childElement = item.querySelector('ul'); diff --git a/styles/Typo.css b/styles/Typo.css index 160fd025..1690d237 100644 --- a/styles/Typo.css +++ b/styles/Typo.css @@ -931,6 +931,11 @@ body.mrna input[type="submit"]:hover { line-height: 1.1em!important; } +.block-small { + font-size: 12px!important; + line-height: 1.1em!important; +} + .no-inner-space { padding: 0!important; } diff --git a/styles/template.css b/styles/template.css index 50ef5982..73e5dc3c 100644 --- a/styles/template.css +++ b/styles/template.css @@ -659,10 +659,6 @@ body.sidebar-50 #sidebar { padding: 0 } -#footer-orange li.hs-menu-depth-1.menu-num-1,#footer-orange li.hs-menu-depth-1:first-child { - display: none!important -} - #footer-orange li { padding: 0 }