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);
});

Sant Antoni de Portmany

Sant Antoni de Portmany, often simply known as San Antonio, is a town located on the western coast of Ibiza. Renowned for its stunning sunsets, it's also a magnet for nightlife and music lovers, boasting some of the island's most famous bars and clubs. The town is also a hub for water sports and outdoor activities, offering a beautiful bay and beaches. Sant Antoni has charming aspects, including its promenade, the historic Egg monument, and nearby tranquil coves and family-friendly beaches, making it a diverse destination.