Twenty Thirteen customized header.
-
I have modified my header.php to have 3 div in a row that stack when the screen is shrunk. I am trying to keep the header mobile friendly.
I have added the following code
<div class="header_container"> <div class="header_content1 header_content"><img src="https://www.ronaldbernheim.com/wp-content/uploads/2013/12/header_ff.jpg" width="202" height="130" alt="Financial Freedom Wealth Management"/> </div> <div class="header_content2 header_content"><a class="home-link" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"> <h1 class="site-title"><?php bloginfo( 'name' ); ?></h1> <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2> </a> </div> <div class="header_content3 header_content"><img src="https://www.ronaldbernheim.com/wp-content/uploads/2013/12/header_npc.jpg" width="134" height="130" alt="National Planning Corporation"/> </div> </div>
In the styles.css I added
.header_container{ width:100%; height:130px; background-color:white; } .header_content{ float:left; height:130px; } .header_content1{ width:400px; text-align:center; } .header_content2{ width:397px; text-align:center; } .header_content3{ width:400px; text-align:center; }
When I view the site on a mobile device or I shrink the width of my browser, the navbar is acting funny.
On mu cell phone, my logo’s are sitting on top of my navbar and the menu items are not in the blue bar.
I am stuck and could use any input the community may have.
Thanks,
Micah
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Twenty Thirteen customized header.’ is closed to new replies.