• http://www.epspeo.com/

    I updated the logo via the ‘style.css’ and it is approx. 44px taller than the original logo. I am now left with this awkward white space at the top of the page. It is still there even if I revert to the old 220×55 logo.

    Any ideas on how to best clean up the page? Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter commodorevic

    (@commodorevic)

    This is the header.php code:

    <!-- SITE HEADER -->
    
    	<header class="site-header navbar row clearfix">
    
    		<div class="navbar-header">
    			<button class="navbar-toggle collapsed" type="button"
    			data-toggle="collapse" data-target="#main-menu"
    			aria-controls="main-menu" aria-expanded="false">
    				<span class="sr-only">Toggle navigation</span>
    				<span><span class="glyphicon glyphicon-menu-hamburger"></span><strong>MENU</strong></span>
    			</button>
    			<h1>
    			<a href="<?php bloginfo( 'url' ); ?>" class="navbar-brand"></a>
    			<?php bloginfo('name'); ?>
    			</h1>
    		</div> <!-- .navbar-header -->
    
    		<?php
    			wp_nav_menu( array(
    				'menu'				=>	'primary-menu',
    				'theme_location'	=>	'primary-menu',
    				'depth'				=>	2,
    				'container'			=>	'nav',
    				'container_class'	=>	'main-menu collapse navbar-collapse right',
    				'container_id'		=>	'main-menu',
    				'menu_class'		=>	'nav navbar-nav',
    				'fallback_cb'		=>	'wp_bootstrap_navwalker::fallback',
    				'walker'			=>	new wp_bootstrap_navwalker())
    			);
    		?>
    
    	</header> <!-- .site-header -->
    Thread Starter commodorevic

    (@commodorevic)

    An example of what I want to do:

    http://s21.postimg.org/sydp0qb2v/wat.jpg

    Anonymous User 14733231

    (@anonymized-14733231)

    Hello commodorevic,

    Please add this css in your stylesheet.

    #main-menu .nav.navbar-nav {
    padding-top: 63px !important;
    }

    Thread Starter commodorevic

    (@commodorevic)

    Thanks for your response, Neal007. That snippet of code had no effect on the layout.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    If you’re not using a Child Theme, and if the theme doesn’t have a section for CSS modifications then do the following:

    1. Install this Custom CSS Manager plugin http://ww.wp.xz.cn/plugins/custom-css-manager-plugin
    2. use its “CSS Code” section of the dashboard to hold your CSS modifications:
    3. (put this code in)

      @media screen and (min-width: 991px) {
          #main-menu {
              margin-top: 63px;
          }
      }
    4. Save

    Alternatively use your Child Theme style.css file to hold your CSS modifications

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Resolve Header Issues’ is closed to new replies.