When on sub page cannot click header item anymore

Hi,

When I am on one of my sub pages for updates(blogs) or store(products) the click for the update or store page is disabled.

How do I fix this.
This is my header code.
I use this snippet: header.php on all of the sub pages

<header class="header">
    <div class="header__container"><a class="header__logo" href="/"></a>
        <?php

        // main menu items
        $items = $pages->listed();

        // only show the menu if items are available
        if($items->isNotEmpty()):

        ?>
        <nav class="header__nav" role="navigation">
            <ul class="header__list">
                <?php foreach($items as $item): ?>
                <li class="header__list-item">
                    <a class="header__list-item__anchor <?php e($item->isOpen(), 'is-active"') ?> "href="<?= $item->url() ?>"><?= $item->title()->html() ?></a>
                </li>
                <?php endforeach ?>
            </ul>
        </nav>
        <?php endif ?>
        
        <ul class="header__list header__list--right">
            <li class="header__list-item">
                <button class="snipcart-checkout">
                    <div class="icon icon-cart"><span class="snipcart-items-count"></span></div>
                </button>
            </li>
            <li class="header__list-item"><a href="https://nl-nl.facebook.com/pages/category/Musician-Band/MC-DRT-133368460042150/" target="new">FB</a></li>
            <li class="header__list-item"><a href="https://www.youtube.com/user/DirkRichardTinus" target="new">YT</a></li>
            <li class="header__list-item"><a href="https://www.instagram.com/_mcdrt" target="new">IG</a></li>
        </ul>
    </div>
</header>

Missing space before href in this line

1 Like

Oh I missed that. Thanx again! You are awesome