diff --git a/functions.php b/functions.php index fc038639..7d6482f2 100644 --- a/functions.php +++ b/functions.php @@ -266,6 +266,7 @@ function siteorigin_north_scripts() { wp_localize_script( 'siteorigin-north-script', 'siteoriginNorth', array( 'smoothScroll' => siteorigin_setting( 'navigation_smooth_scroll' ), 'logoScale' => is_numeric( $logo_sticky_scale ) ? $logo_sticky_scale : 0.755, + 'collapse' => siteorigin_setting( 'responsive_menu_breakpoint' ), ) ); // jQuery FitVids. diff --git a/inc/extras.php b/inc/extras.php index 26e00065..045ce480 100644 --- a/inc/extras.php +++ b/inc/extras.php @@ -22,7 +22,6 @@ function siteorigin_north_body_classes( $classes ) { $classes[] = 'no-js'; $classes[] = 'css3-animations'; - $classes[] = 'no-touch'; if ( siteorigin_setting( 'responsive_disabled' ) == false ) { $classes[] = 'responsive'; } diff --git a/inc/template-tags.php b/inc/template-tags.php index bfcf8315..dedca2b0 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -400,7 +400,7 @@ function siteorigin_north_custom_icon( $icon, $class ) { function siteorigin_north_display_icon( $type ) { switch ( $type ) { case 'menu': - if ( siteorigin_setting( 'icons_menu' ) ) : ?> + if ( siteorigin_setting( 'icons_menu' ) && wp_attachment_is_image( siteorigin_setting( 'icons_menu' ) ) ) : ?>