Skip to content

Instantly share code, notes, and snippets.

@davebonds
Created February 9, 2016 21:01
Show Gist options
  • Save davebonds/c4fd1c6732bd5b2df83d to your computer and use it in GitHub Desktop.
Save davebonds/c4fd1c6732bd5b2df83d to your computer and use it in GitHub Desktop.
Equity adjust header area sizes
/** Adjust title area size **/
add_filter( 'equity_attr_title-area', 'custom_equity_attributes_title_area' );
function custom_equity_attributes_title_area( $attributes ) {
$attributes['class'] .= ' columns small-12 large-5';
return $attributes;
}
/** Adjust header nav size **/
add_filter( 'equity_attr_nav-header-right', 'custom_equity_attributes_header_nav' );
function custom_equity_attributes_header_nav( $attributes ) {
$attributes['class'] .= ' columns small-12 large-7';
return $attributes;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment