Skip to content

Instantly share code, notes, and snippets.

@srikat
Created November 17, 2013 13:59
Show Gist options
  • Save srikat/7513751 to your computer and use it in GitHub Desktop.
Save srikat/7513751 to your computer and use it in GitHub Desktop.
add_action( 'genesis_before', 'genesis_do_subnav' );
add_action( 'genesis_before', 'genesis_do_subnav', 4 );
remove_action( 'genesis_header', 'genesis_header_markup_open', 5 );
remove_action( 'genesis_header', 'genesis_do_header' );
remove_action( 'genesis_header', 'genesis_header_markup_close', 15 );
add_action( 'genesis_before', 'genesis_header_markup_open', 5 );
add_action( 'genesis_before', 'genesis_do_header' );
add_action( 'genesis_before', 'genesis_header_markup_close', 15 );
remove_action( 'genesis_after_header', 'genesis_do_nav' );
add_action( 'genesis_before', 'genesis_do_nav', 16 );
body {
background: #E2DECF;
}
.site-container {
margin-top: 0;
}
.nav-secondary {
background: #111;
}
.site-header {
background: url('images/wrap.png') repeat-x;
}
.site-title {
margin-bottom: 0;
margin-top: 9.5px;
margin-top: 0.95rem;
}
.nav-primary {
border-top: 1px solid #111111;
background: url('images/subnav.png') repeat-x;
}
.site-container {
margin-top: 3.2rem;
margin-top: 32px;
margin-bottom: 3.2rem;
margin-bottom: 32px;
}
.site-inner {
padding-top: 0;
}
@media only screen and (max-width: 1139px) {
.title-area {
width: auto;
}
}
@media only screen and (max-width: 1023px) {
.site-header .widget {
margin-bottom: 0;
}
.site-title {
margin-top: 18px;
margin-top: 1.8rem;
}
.site-header .widget-area {
width: 300px;
}
}
@media only screen and (max-width: 768px) {
.site-header .search-form {
margin-bottom: 0;
}
.site-header .widget-area {
width: 100%;
}
.title-area {
float: none;
}
}
@media only screen and (max-width: 500px) {
.nav-primary {
background: #333;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment