Skip to content

Commit

Permalink
Footer issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
teshukatepalli1 committed Dec 11, 2023
1 parent f4ad48a commit fc2a4cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion blocks/header/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
4 changes: 0 additions & 4 deletions styles/template.css
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit fc2a4cf

Please sign in to comment.