From: Anthony Talarico Date: Thu, 11 Feb 2016 21:25:14 +0000 (-0500) Subject: added blog link, separating blog search from from topbar search form X-Git-Tag: v1.0.0^2~202 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=0df1d153f59bc6d312cc93fff0102eaa133bb5cd;p=WP-Themes%2FDiscoverKZOO.git added blog link, separating blog search from from topbar search form --- diff --git a/css/app.css b/css/app.css index 27b3539..e7f542c 100644 --- a/css/app.css +++ b/css/app.css @@ -6640,9 +6640,9 @@ header { -webkit-column-count: 1; } @media only screen and (min-width:64.063em) { - #searchform .button { + #topSearchForm .button { display: none; } - #searchform { + #topSearchForm { display: none; float: right; height: 30px; } @@ -7066,6 +7066,12 @@ input[type="submit"].blogbutton { line-height: 1.1; } .blog-featured { + height: 250px; + background-size: cover; + background-repeat: no-repeat; + background-position: center; } + +.blog-featured-home { height: 250px; float: left; background-size: cover; @@ -7554,13 +7560,6 @@ a#big-lens h1 { #social2 #in2 a { background: url(http://www.discoverkalamazoo.com/assets/social.png) -175px 0 no-repeat; } -.blog-featured { - height: 250px; - float: none; - background-size: cover; - background-repeat: no-repeat; - background-position: center; } - /* for the mobile menu */ aside.left-off-canvas-menu li.page_item { display: block; diff --git a/header.php b/header.php index abc7e4a..19b56c0 100644 --- a/header.php +++ b/header.php @@ -25,6 +25,7 @@
  • Sports Planning
  • Travel Partners
  • Media
  • +
  • Blog
  • diff --git a/home.php b/home.php index 8c1e003..a0e9de1 100644 --- a/home.php +++ b/home.php @@ -26,7 +26,7 @@ ID), "full"); - echo ''; + echo ''; echo '
    '; } else { echo '
    '; diff --git a/js/app.js b/js/app.js index d5982d8..78513d9 100644 --- a/js/app.js +++ b/js/app.js @@ -55,15 +55,15 @@ $(document).ready(function () { // }; // blocks.init(); $("#searchIcon").click(function(){ - if($("#searchform").css("display") == "none"){ + if($("#topSearchForm").css("display") == "none"){ // $("#searchform").css("display", "inline"); - $("#searchform").toggle("slide"); + $("#topSearchForm").toggle("slide"); $("#searchIcon").css("visibility", "hidden"); } $("#lar-search").focus(); }); $("#lar-search").blur(function(){ - $("#searchform").toggle("slide"); + $("#topSearchForm").toggle("slide"); $("#searchIcon").css("visibility", "visible"); }); }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 9e1c330..ae84b6c 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -46,15 +46,15 @@ $(document).ready(function () { // }; // blocks.init(); $("#searchIcon").click(function(){ - if($("#searchform").css("display") == "none"){ + if($("#topSearchForm").css("display") == "none"){ // $("#searchform").css("display", "inline"); - $("#searchform").toggle("slide"); + $("#topSearchForm").toggle("slide"); $("#searchIcon").css("visibility", "hidden"); } $("#lar-search").focus(); }); $("#lar-search").blur(function(){ - $("#searchform").toggle("slide"); + $("#topSearchForm").toggle("slide"); $("#searchIcon").css("visibility", "visible"); }); }); diff --git a/parts/search.php b/parts/search.php index fddee5b..ad9d780 100644 --- a/parts/search.php +++ b/parts/search.php @@ -1,5 +1,5 @@ - diff --git a/scss/_blog.scss b/scss/_blog.scss index 7d51bc2..5bb5a5a 100644 --- a/scss/_blog.scss +++ b/scss/_blog.scss @@ -158,6 +158,12 @@ input[type="submit"].blogbutton { } } .blog-featured{ + height: 250px; + background-size: cover; + background-repeat: no-repeat; + background-position: center; +} +.blog-featured-home{ height: 250px; float: left; background-size: cover; diff --git a/scss/_structure.scss b/scss/_structure.scss index ba7cd05..8b4fbba 100644 --- a/scss/_structure.scss +++ b/scss/_structure.scss @@ -124,12 +124,4 @@ a#big-lens h1 { } #social2 #in2 a { background: url(http://www.discoverkalamazoo.com/assets/social.png) -175px 0 no-repeat; -} -.blog-featured { - //max-height: 200px; - height: 250px; - float: none; - background-size: cover; - background-repeat: no-repeat; - background-position: center; -} +} \ No newline at end of file diff --git a/scss/_topbar.scss b/scss/_topbar.scss index 1462ce5..bc83415 100644 --- a/scss/_topbar.scss +++ b/scss/_topbar.scss @@ -440,10 +440,10 @@ -webkit-column-count: 1; } @media #{$large-up}{ - #searchform .button{ + #topSearchForm .button{ display: none; } - #searchform{ + #topSearchForm{ display: none; float: right; height: 30px;