Site icon Catch Themes

Hide header and footer on selected pages

Using Catcheverest Pro I can use the custom CSS to hide the header, menu, page title and footer. But I want to do this ie I want to do this for a specific page (so that its URL can be put into an iframe). I have created a template page and want to add a /<?php if( !is_page( '1' ) ) : ?>/ statement somewhere. But where? If I try putting it in I just a get a white screen so presumably some key elements of the header are not being called. Where can I put the code so that all the header components are assigned but the header is not displayed?
Exit mobile version