From: Anthony Talarico Date: Tue, 6 Jun 2017 12:51:04 +0000 (-0400) Subject: removing the header search in medium view X-Git-Tag: v1.0.0^2~22 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=e30fcb1e0fbc7f709cb477ff23d96bf860f0ca67;p=WP-Themes%2Fphsacf.git removing the header search in medium view the site has a search in the off canvas in tablet view, removing the header search as the animation on blur breaks when the tablet keyboard pops up --- diff --git a/js/app.js b/js/app.js index b393c96..bcb482b 100644 --- a/js/app.js +++ b/js/app.js @@ -92,7 +92,7 @@ $(document).ready(function () { }); var page = $('body'); var search_toggle = page.find('.search-field a'); - var search_input = page.find('.search-input'); + var search_input = page.find('.header-search-container .search-input'); function hide_show_search(el){ if( el.css("width") == '0px'){ diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 488e58f..9db07a2 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -23,7 +23,7 @@ $(document).ready(function () { }); var page = $('body'); var search_toggle = page.find('.search-field a'); - var search_input = page.find('.search-input'); + var search_input = page.find('.header-search-container .search-input'); function hide_show_search(el){ if( el.css("width") == '0px'){ diff --git a/sections/header.php b/sections/header.php index a83c356..e65e449 100644 --- a/sections/header.php +++ b/sections/header.php @@ -8,9 +8,9 @@