Forum Replies Created

Viewing 1 replies (of 1 total)
  • Forum: Themes and Templates
    In reply to: [Ward] logo

    daftduke you are awesome for those snippets of code !

    I have a question though if you feel like answering, I was wondering how would you be able to centre the logo.png abit more or give more space between the image and the top Navigation bar.

    <div id="page">
    
    		<header class="<?php echo $bavotasan_theme_options['nav_palette']; ?> navbar navbar-fixed-top" role="navigation">
    			<div class="container">
    				<div class="navbar-header">
    					<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
    			          <span class="icon-bar"></span>
    			          <span class="icon-bar"></span>
    			          <span class="icon-bar"></span>
    			        </button>
    			        <div class="header-image">
        <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
           <img src="<?php echo get_stylesheet_directory_uri(); ?>/images/logo.png" alt="Logo"/>
        </a>
    </div>
    
    				</div>
    				<h3 class="screen-reader-text"><?php _e( 'Main menu', 'ward' ); ?></h3>
    				<a class="screen-reader-text" href="#primary" title="<?php esc_attr_e( 'Skip to content', 'ward' ); ?>"><?php _e( 'Skip to content', 'ward' ); ?></a>
    				<?php wp_nav_menu( array( 'theme_location' => 'primary', 'container' => 'nav', 'container_class' => 'navbar-collapse collapse', 'menu_class' => 'nav navbar-nav', 'fallback_cb' => 'bavotasan_default_menu' ) ); ?>
    			</div>
    		</header>
Viewing 1 replies (of 1 total)