navigation bar
Permalink
I made a header area in the hero photo for a auto-nav. when you are in edit mode the navigation is there. But when you logged out the auto-nav is gone (html). I thought the placing of the javascript was off. I tried various options but the auto nav does not appear. I cleared cache but that's also not the solution. Does anybody knows what the problem is. I can't see it.
Websitehttps://www.simoneverbeek.webvelopment.nl/...
Code that's has to be there
<div class="header__nav">
<ul class="header__list"><li class="header__item header__item--active header__item--active"><a href="https://www.simoneverbeek.webvelopment.nl/index.php/en" target="_self">Home</a></li></ul></div>
Websitehttps://www.simoneverbeek.webvelopment.nl/...
Code that's has to be there
<div class="header__nav">
<ul class="header__list"><li class="header__item header__item--active header__item--active"><a href="https://www.simoneverbeek.webvelopment.nl/index.php/en" target="_self">Home</a></li></ul></div>
Which language is in edit mode active?
the language of the website and cms is English
The <html lang="nl"> says "nl" but the slug ../index.php/en has "en"
I think there's no output because the site language is NL and there are no available pages?
There is output when logged-in. But when logged-out it's gone
Which language is displayed in html lang when your logged in?
There is no html lang tag anymore. Because i removed it after add it in the header.php myself.