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

Ibiza Daily News: Your Guide to Ibiza, News, Lifestyle & the Best of the Island

Discover what’s happening in Ibiza — from the latest news and events to beaches, restaurants, nightlife, culture and the best things to do.

Sant Antoni Agricultural Cooperative Marks 75 Years in Ibiza
75th anniversary of the Sant Antoni Agricultural Cooperative / J.A. Riera

Party Calendar Events

Explore historic Ibiza Town, relax on the golden sands of Playa d’en Bossa, and discover the tranquil beauty of Cala Comte. Experience the perfect blend of town charm and beach bliss in this Mediterranean paradise.

Accommodation

Ibiza offers numerous hotels and resorts that provide amenities, exquisite dining options, spa facilities, and breathtaking views. These accommodations are often located near popular beach areas and cater to guests seeking a great experiences.