Skip to content

Instantly share code, notes, and snippets.

@akther80
Created January 22, 2019 12:22
Show Gist options
  • Save akther80/e4992ce1c2f58ba9aab72f04b1d8b23a to your computer and use it in GitHub Desktop.
Save akther80/e4992ce1c2f58ba9aab72f04b1d8b23a to your computer and use it in GitHub Desktop.
Electro v2 - Change handheld screen size
if ( ! function_exists( 'electro_mobile_header_v1' ) ) {
/**
* Displays Mobile Header v1
*/
function electro_mobile_header_v1() {
if( has_electro_mobile_header() ) : ?>
<div class="container hidden-lg-up">
<div class="mobile-header-v1 handheld-stick-this">
<?php
/**
* @hooked electro_off_canvas_nav - 10
* @hooked electro_header_logo - 20
* @hooked electro_handheld_header_links - 30
*/
do_action( 'electro_mobile_header_v1' ); ?>
</div>
</div>
<?php endif;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment