Opens in a new tab
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);
});

Thursday, August 22 2024, 8.41am

The beach at Punta Xinxó has been closed for a week due to biological contamination, attributed to the failure of an old sewage pumping station located on the shore. The closure followed a storm caused by DANA, which led to the collapse of the sewage network and resulted in the beach being flooded with wipes. This incident is part of a recurring pattern, with similar contamination episodes occurring during past tourist seasons. The Sant Josep City Council is conducting daily water quality tests and will only reopen the beach when it is safe for public use. For the full article, please visit Diario de Ibiza website here.