Non scrollable menu in header
PermalinkI cant find one thing: the themes Palette and Hey Dj do have a static menu on top of the page. (non scrollable). I would like to implement this in Elements.
Is there any documentation how to get this, or isnt it possible.. (as i cant find it, but maybe im looking the wrong direction)
Thank you
I was already dusting off my old Dreamweaver and get a new set of glasses.
<?php defined('C5_EXECUTE') or die("Access Denied."); $this->inc('elements/header_top.php'); $as = new GlobalArea('Header Search'); $blocks = $as->getTotalBlocksInArea(); $displayThirdColumn = $blocks > 0 || $c->isEditMode(); ?> <header> <div class="navbar navbar-default navbar-fixed-top"> <div class="container"> <div class="row"> <div class="col-sm-4 col-xs-6"> </div> <div class="<?php if ($displayThirdColumn) { ?>col-sm-5 col-xs-6<?php } else { ?>col-sm-8 col-xs-6<?php } ?>"> </div> <?php
This can be done with any theme if you are willing to add some custom styles, but is not always an option out of the box.