Exclude div from header.php
-
I would like to remove the div containing my header image from one page. I tried wrapping the following code around the div in question:
<?php if( !is_page('directions') ) : ?> <?php endif; ?>
But it still leaves the empty space. I need to add
display: none
so that the div disappears completely. I have searched everywhere but to no avail.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Exclude div from header.php’ is closed to new replies.