Share

Openlands Projects

Our projects strive to give back to our region’s open spaces and create new ones so that we can continue to enjoy their solace and health benefits for generations to come.
Share

Hackmatack National Wildlife Refuge

Since 2005, Openlands has worked to protect the ecologically significant landscapes found along the Illinois-Wisconsin border, acquiring over 1,000 acres of land in Hackmatack National Wildlife Refuge, and collaborating with partners and community residents to restore it.

Bison with tag on head laying in grass

Conserving Landscapes

Openlands restores landscapes small and large in concert with public and private landowners, supporting native ecosystems across the region.

Improving Water Quality & Waterways

Through innovative programs and partnerships, Openlands connects communities and government agencies to build and maintain innovative green infrastructure to manage stormwater in flood-prone metropolitan areas.

Two people in a canoe paddling on calm water.
Monarch butterfly perched on wild plant, showcasing vibrant colors and delicate wings in natural habitat.

Informing Policy

Openlands restores landscapes small and large in concert with public and private landowners, supporting native ecosystems across the region.

Learn More About Our Programs

Openlands Programs

Through local, meaningful, community-oriented programs, we can all do our part to create access to nature for all.

Volunteer with Openlands

Openlands makes protecting nature accessible and approachable for all.
Scroll to Top
/** * Openlands Mobile Drawer Menu Fixes * * HOW TO ADD THIS TO WORDPRESS: * Option A (Elementor Pro): Site Settings → Custom Code → Add New Code → paste this → set location to "Body End" * Option B (plugin): Install "WPCode Lite" → Code Snippets → Add Snippet → JavaScript → set "Insert Before " * * REMOVE any old "click-only-menu" script that was previously attached. */ (function () { function initMobileMenuFixes() { // FIX 1: Clicking parent menu label (e.g. "Accountability & Impact") toggles // the submenu instead of closing the drawer. // Uses document capture so we intercept before Astra's close-on-click handler. document.addEventListener('click', function (e) { var link = e.target.closest('#ast-mobile-popup-wrapper .menu-item-has-children > a.menu-link'); if (!link) return; if (link.getAttribute('href') !== '#') return; // only intercept non-navigation parents e.preventDefault(); e.stopImmediatePropagation(); // prevent any other listeners on same phase/element var li = link.closest('.menu-item-has-children'); var toggle = li ? li.querySelector(':scope > .ast-menu-toggle') : null; if (toggle) { // Works even when toggle is display:none — dispatchEvent bypasses CSS visibility toggle.dispatchEvent(new MouseEvent('click', { bubbles: true, cancelable: true })); } }, true); // capture phase on document — fires before Astra's bubble-phase handlers // FIX 2: Wrap the drawer logo (currently an unlinked
) in a home link. var popup = document.querySelector('#ast-mobile-popup-wrapper'); if (!popup) return; var logoImg = popup.querySelector('figure img'); if (logoImg) { var figure = logoImg.closest('figure'); if (figure && figure.parentElement && figure.parentElement.tagName !== 'A') { var homeLink = document.createElement('a'); homeLink.href = window.location.origin + '/'; homeLink.setAttribute('aria-label', 'Go to Openlands homepage'); homeLink.style.display = 'block'; figure.parentNode.insertBefore(homeLink, figure); homeLink.appendChild(figure); } } } if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', initMobileMenuFixes); } else { initMobileMenuFixes(); } })();