diff --git a/assets/styles/style.css b/assets/styles/style.css old mode 100755 new mode 100644 index d08362a..77ac83a --- a/assets/styles/style.css +++ b/assets/styles/style.css @@ -1161,3 +1161,7 @@ div.header-user img.avatar { margin: 0 0 10px 0; line-height: 1em; } +#bfc-topnav-search { + opacity: 0.6; + color: #1e1e1e; +} \ No newline at end of file diff --git a/functions/bfc-functions.php b/functions/bfc-functions.php index d40180c..8e1af29 100644 --- a/functions/bfc-functions.php +++ b/functions/bfc-functions.php @@ -182,14 +182,6 @@ function bfc_top_nav_menu_builder() { 'link_url' => '/blog/', 'icon_url' => '/wp-content/themes/bfcom/assets/images/blog.svg', 'text' => 'Blog' - ), - array ( - 'id' => 'bfc-topnav-search', - 'classes' => 'search menu-item-type-post_type menu-item-object-page', - 'parent_nav' => 'search', - 'link_url' => '/activity/', - 'icon_url' => '/wp-content/themes/bfcom/assets/images/search.svg', - 'text' => 'Search' ) ); return $menuitemarray; @@ -226,6 +218,9 @@ function bfc_top_nav() { $topnav .= $thismenuitem; } + //Add Search button to ul + $topnav .= '