Neat Theme without header image on selected pages

Permalink
Hi,
is it possible to use the neat theme and have a few pages without the site wide nav and the site wide logo? i wish to make a mobile app which links to pages of my website but do not wish for users to be able to navigate away from the selected pages. any suggestions would be gratefully received thank you

View Replies:
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
There are a few ways of achieving this..
The simplest way would be to copy an existing page type and save with a different name such as mobile_page.
Next at the top of this page change this code
$this->inc('elements/header.php');

to
$this->inc('elements/header-two.php');

Next copy your elements/header.php file and save as elements/header-two.php.
Finally, delete the parts of the new header-two.php file that you don't want to display.

Now you can use your new mobile-page type for your no-navigation pages.
Darylfron replied on at Permalink Reply
Thank you very much. I will give that a go later
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Another method would be to create a new collection attribute with (for example) a handle of no_nav and a name of No Navigation using the checkbox type.
Then in your header.php file just before the closing </head> tag add this.
<?php if ($c->getCollectionAttributeValue('no_nav')) { ?>
   <style>.siteheader{ display:none}</style>
<?php } ?>

Then in your page properties custom attributes just select the no_nav attribute and tick it, save your page and your done.
You can add to the elements to be hidden by adding further declarations inside the style area.