White Space Before Header and After Footer Twenty Seventeen
-
Has anyone noticed some white space at the very top when you create pages? The front page does not have this problem. But any pages you create have some white space, just before the header image. On my site I added a background color to class=”site-footer”. And I noticed the newly created pages also have this white space at the bottom, if there is not enough content on the page to push the footer down. Meaning the background color isn’t being applied. I have looked at the header.php and I think the white space is as a result of this <html <?php language_attributes(); ?> class=”no-js no-svg”>. Can Anyone help me with how I can remove this white space?
<html <?php language_attributes(); ?> class=”no-js no-svg”>
<head>
<meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
<meta name=”viewport” content=”width=device-width, initial-scale=1″>
<link rel=”profile” href=”https://gmpg.org/xfn/11″><?php wp_head(); ?>
</head>Thanks
- The topic ‘White Space Before Header and After Footer Twenty Seventeen’ is closed to new replies.