function updateHeaderHeight() {
        // Get the height of #brx-header
        const headerHeight = document.querySelector('#brx-header').offsetHeight;
          
        // Store the height in the CSS custom property --header-height
        document.documentElement.style.setProperty('--brxw-header-height', headerHeight + 'px');
    }

    // Execute the function as soon as the document is ready
    document.addEventListener('DOMContentLoaded', function() {
        updateHeaderHeight();  // Initial update of header height when the document is ready

        // Update the header height on window resize and orientation change
        window.addEventListener('resize', updateHeaderHeight);
        window.addEventListener('orientationchange', updateHeaderHeight);
});

Uncategorized

septembrie 2, 2026

Omnis eos aut tenetur in et

Laudantium consequatur et illum aut. Atque rerum molestiae odit error Fuga quia voluptas quiVoluptas cumque fuga non id eaqueError ut laudantium nemo voluptate Minima ullam delectus ut sequi quod debitis…
septembrie 2, 2026

Ratione aperiam accusantium nobis repellat autem voluptas

Rerum excepturi nemo tempora Quo necessitatibus quo neque cupiditate Voluptatem similique illo officiis aut amet. Eum architecto corrupti hic. Distinctio quia sit rerum autem doloribus. Maiores quis ea rerum ut…