Created
February 9, 2016 21:01
-
-
Save davebonds/c4fd1c6732bd5b2df83d to your computer and use it in GitHub Desktop.
Equity adjust header area sizes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** 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