Fixed Header 2012 Child Theme
-
I really want a fixed, full page header using Twenty Twelve Child Theme.
I’ve managed to get a really nice header by making new divs but I can’t figure out how to make it fixed so that the content will scroll underneath.
I’m exhausted! Can anyone help?
Thank you SO much!!!http://www.veterinarymarketingsolutions.ca/VMSsite1/
<body <?php body_class(); ?>>
<div class=”headerWrapper”>
<div class=”headerContent site”>
<header id=”masthead” class=”site-header” role=”banner”>
<hgroup>
<h1 class=”site-title”>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”><?php bloginfo( ‘name’ ); ?></h1>
<h2 class=”site-description”><?php bloginfo( ‘description’ ); ?></h2>
</hgroup>
<nav id=”site-navigation” class=”main-navigation” role=”navigation”>
<h3 class=”menu-toggle”><?php _e( ‘Menu’, ‘twentytwelve’ ); ?></h3>
“><?php _e( ‘Skip to content’, ‘twentytwelve’ ); ?>
<?php wp_nav_menu( array( ‘theme_location’ => ‘primary’, ‘menu_class’ => ‘nav-menu’ ) ); ?>
</nav><!– #site-navigation –>
<?php $header_image = get_header_image();
if ( ! empty( $header_image ) ) : ?>
“><img src=”<?php echo esc_url( $header_image ); ?>” class=”header-image” width=”<?php echo get_custom_header()->width; ?>” height=”<?php echo get_custom_header()->height; ?>” alt=”” />
<?php endif; ?>
</header><!– #masthead –>
</div><!– .headercontent –>
</div><!– .headerwrapper –>
<div id=”page” class=”hfeed site”>
<div id=”main” class=”wrapper”>
The topic ‘Fixed Header 2012 Child Theme’ is closed to new replies.