From fc2a4cf91764afc1983398b2571ec3cda7e5e22d Mon Sep 17 00:00:00 2001 From: TeshuKatepalli Date: Mon, 11 Dec 2023 11:58:32 +0530 Subject: [PATCH 1/2] Footer issue fixed --- blocks/header/header.js | 2 +- styles/template.css | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) 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/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 } From 796bbd04f579ed2d8c2e04fcd710eb00a1f6528c Mon Sep 17 00:00:00 2001 From: TeshuKatepalli Date: Mon, 11 Dec 2023 12:04:29 +0530 Subject: [PATCH 2/2] Added block-small property to make small text in block --- styles/Typo.css | 5 +++++ 1 file changed, 5 insertions(+) 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; }