diff --git a/js/remove-main-container.js b/js/remove-main-container.js index 3efd7fa14..1728e9ca9 100644 --- a/js/remove-main-container.js +++ b/js/remove-main-container.js @@ -12,4 +12,15 @@ var pageDetailsSection = document.querySelector('section.pagedetails'); // Adjus // Add the 'container' class to the 'pagedetails' section if it exists if (pageDetailsSection) { pageDetailsSection.classList.add('container'); -} \ No newline at end of file +} + +// Select the anchor tag within the .brand container +document.addEventListener("DOMContentLoaded", () => { + const brandLink = document.querySelector(".brand a"); + + if (brandLink) { + brandLink.setAttribute("href", "https://www.canada.ca/en.html"); + } else { + console.error("Brand link not found."); + } +}); \ No newline at end of file