How to center header
-
Hello guys, i upload my own logo and need center in header, this is code, but i dont know what i need change to make it in center
<div id="header"> <div id="head-content" class="clearfix "> <!-- Logo --> <div id="logo"> <?php if($bresponZive_tpcrn_data['custom_logo'] !='') { if($bresponZive_tpcrn_data['custom_logo']) { $logo = $bresponZive_tpcrn_data['custom_logo']; } else { $logo = get_template_directory_uri() . '/images/logo.png'; } ?> <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php bloginfo( 'name' ); ?>" rel="home"><img src="<?php echo esc_url($logo); ?>" alt="<?php bloginfo( 'name' ) ?>" /></a> <?php } else { ?> <?php if (is_home()) { ?> <h1><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php bloginfo( 'name' ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> <span><?php bloginfo( 'description' ); ?></span> <?php } else { ?> <h2><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php bloginfo( 'name' ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h2> <?php } } ?> </div> <!-- /#Logo --> </div>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to center header’ is closed to new replies.