Strange header behaviour - does not show when not logged in as admin
Permalink
I am experiencing very strange header behaviour. My header shows up fine when I am logged in but when I log out it does not show up at all, or only the title and not the logo show up.
The navigation and search parts do show up.
Can anyone help?
Here is the code for the header:
<?php defined('C5_EXECUTE') or die("Access Denied.");
$this->inc('elements/header_top.php');
?>
<header>
<div class="container">
<div class="row">
<div class="col-sm-2 col-xs-3">
<?php
$a = new GlobalArea('Header Logo');
$a->display();
?>
</div>
<div class="col-sm-10 col-xs-9">
<?php
$a = new GlobalArea('Header Site Title');
$a->display();
?>
</div>
</div>
<div class="row">
<div class="col-sm-8 col-xs-6">
<?php
$a = new GlobalArea('Header Navigation');
$a->display();
?>
</div>
<div class="col-sm-4 col-xs-6">
<?php
$a = new GlobalArea('Header Search');
$a->display();
?>
</div>
</div>
</div>
</header>
The navigation and search parts do show up.
Can anyone help?
Here is the code for the header:
<?php defined('C5_EXECUTE') or die("Access Denied.");
$this->inc('elements/header_top.php');
?>
<header>
<div class="container">
<div class="row">
<div class="col-sm-2 col-xs-3">
<?php
$a = new GlobalArea('Header Logo');
$a->display();
?>
</div>
<div class="col-sm-10 col-xs-9">
<?php
$a = new GlobalArea('Header Site Title');
$a->display();
?>
</div>
</div>
<div class="row">
<div class="col-sm-8 col-xs-6">
<?php
$a = new GlobalArea('Header Navigation');
$a->display();
?>
</div>
<div class="col-sm-4 col-xs-6">
<?php
$a = new GlobalArea('Header Search');
$a->display();
?>
</div>
</div>
</div>
</header>