removed search icon from top bar
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 2 Feb 2016 17:59:53 +0000 (12:59 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 2 Feb 2016 17:59:53 +0000 (12:59 -0500)
functions.php
js/app.js
js/custom/upcp.js

index 51ac759..2d12e7f 100644 (file)
@@ -54,7 +54,7 @@ if ( ! function_exists( 'michsci_top_bar' ) ) {
           'container' => false,                           // remove nav container
           'container_class' => '',   // class of container
           
-          'items_wrap' => '<ul id="%1$s" class="%2$s"><li id="logo"><a href="' . get_bloginfo( 'url' ) . '"><img src="'.get_bloginfo('template_url').'/assets/michigan-scientific-logo.png"></a></li>%3$s<li id="search-icon"><a href="#"><img src="'.get_bloginfo('template_url').'/assets/Untitled-2.png"></a></li></ul>',
+          'items_wrap' => '<ul id="%1$s" class="%2$s"><li id="logo"><a href="' . get_bloginfo( 'url' ) . '"><img src="'.get_bloginfo('template_url').'/assets/michigan-scientific-logo.png"></a></li>%3$s</ul>',
           
           'menu' => '',                                   // menu name
           'menu_class' => '',                             // adding custom nav class
index 77543c1..b81a963 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -167,7 +167,6 @@ $(document).ready(function () {
             $(categoriesListView).show();
             $(gridView).css("display", "none");
             $(listView).css("display", "none");
-   
         } else if ($("#tagBox :checkbox:checked").length === 0){
             $(".product").show();
         }
@@ -201,7 +200,7 @@ $(document).ready(function () {
     $("#blog-side-info-wrapper").insertBefore(gridView);
     $("#blog-side-info-wrapper").insertBefore(listView);
 
-    var link; 
+    var link;
     $('#tags a').click(function() {
         link = $(this).attr('id');
         createCookie("link", link);
@@ -217,7 +216,7 @@ $(document).ready(function () {
             if (c.indexOf(name) == 0) return c.substring(name.length,c.length);
         }
         return "";
-    } 
+    }
     ///////////////////////////////////////////////
     var selectedTag = getCookie("link");
     if(selectedTag){
@@ -231,8 +230,8 @@ $(document).ready(function () {
             $("#tagBox :checkbox:checked").each(function() {
                 $("." + $(this).val()).show();
             });
-        }  
-    } 
+        }
+    }
     $.when(
         $(".hitarea").triggerHandler('click')
     ).done(function() {
index a5b7a72..13ac722 100644 (file)
@@ -147,7 +147,6 @@ $(document).ready(function () {
             $(categoriesListView).show();
             $(gridView).css("display", "none");
             $(listView).css("display", "none");
-   
         } else if ($("#tagBox :checkbox:checked").length === 0){
             $(".product").show();
         }
@@ -181,7 +180,7 @@ $(document).ready(function () {
     $("#blog-side-info-wrapper").insertBefore(gridView);
     $("#blog-side-info-wrapper").insertBefore(listView);
 
-    var link; 
+    var link;
     $('#tags a').click(function() {
         link = $(this).attr('id');
         createCookie("link", link);
@@ -197,7 +196,7 @@ $(document).ready(function () {
             if (c.indexOf(name) == 0) return c.substring(name.length,c.length);
         }
         return "";
-    } 
+    }
     ///////////////////////////////////////////////
     var selectedTag = getCookie("link");
     if(selectedTag){
@@ -211,8 +210,8 @@ $(document).ready(function () {
             $("#tagBox :checkbox:checked").each(function() {
                 $("." + $(this).val()).show();
             });
-        }  
-    } 
+        }
+    }
     $.when(
         $(".hitarea").triggerHandler('click')
     ).done(function() {