• For the Fortunado Theme, I noticed there is a custom-header.php. I’d like to customize the header height on only one page, but it doesn’t work in CSS. Is there anyway to do this with the custom-header.php file? How?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,
    You can certainly achieve this using CSS.You can implement page id of that particular page combining with CSS class for header height using Custom CSS or by making child themes.
    Let me know how it goes!!

    Thread Starter johncoleman83

    (@johncoleman83)

    Thank you very sincerely for your support @madhusudan! I want to remove the header in only one page, but keep the NavBar. I tried doing this with CSS in my fortunado-child theme. This is the what I put in:

    .page-id-157 .site-header {
    	height: 0px;
    }

    This doesn’t seem to do anything? Could you please help me understand what I should specifically enter in my style.css child them in order to change this? Here is my site: Chicago Resource Hub

    Thread Starter johncoleman83

    (@johncoleman83)

    I resolved the problem with my friend’s help… I had to edit my child header.php to include this:

    <?php elseif (is_page('get-data')): ?>
    	<header id="masthead" class="get-data-site-header" style="height: 0px">
    
    	<?php else: ?>

    That did the trick because the php was overriding the css.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Header’ is closed to new replies.