-
AuthorPosts
-
November 28, 2013 at 12:47 pm #194317
Hi,
On the site i’m currently developing (http://www.bataindustrials.co.za/) the searchfield from the menu magicly disappeared.. the tooltip with gets rendered somewhere on the bottom of the page but had no content.. and the magnifying glass is also invisble but the menu item is still there..
Have you guys encoutered this before? or can you see what goes wrong?
(btw.. we kinda styled the whole thing a little different from the original :-P )
November 28, 2013 at 11:19 pm #194522Hi joax!
There is some issue in the rendering of the search icon:
Open functions-enfold.php and make sure line 52-73 look like this:
if(!function_exists('avia_append_search_nav')) { //first append search item to main menu add_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 10, 2 ); add_filter( 'avf_fallback_menu_items', 'avia_append_search_nav', 10, 2 ); function avia_append_search_nav ( $items, $args ) { if(avia_get_option('header_searchicon','header_searchicon') != "header_searchicon") return $items; if ((is_object($args) && $args->theme_location == 'avia') || (is_string($args) && $args = "fallback_menu")) { global $avia_config; ob_start(); get_search_form(); $form = htmlspecialchars(ob_get_clean()) ; $items .= '<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown"><a href="?s=" data-avia-search-tooltip="'.$form.'" '.av_icon_string('search').'></a></li>'; } return $items; } }
Regards,
JosueDecember 10, 2013 at 5:38 pm #198614Hi, I am having the same problem. The search icon doesn’t open the search field or search page, when lelft clicking. When opening the link in separate banner the search field opens.
The above code suggested only left the whole page below the header black.
Regards
ArildDecember 10, 2013 at 6:28 pm #198641Hey!
@aspoy Can you post the link to your website so we can inspect elements?
Cheers!
YigitDecember 10, 2013 at 6:30 pm #198643This reply has been marked as private.December 10, 2013 at 6:34 pm #198645Hey!
It looks fine on my end. Please see screenshot here http://i.imgur.com/Qt4UvKL.jpg
Can you post a screenshot of the issue you are having so we can make sure that we are on the same page?Cheers!
YigitDecember 10, 2013 at 6:56 pm #198658This reply has been marked as private.December 10, 2013 at 7:04 pm #198662This reply has been marked as private. -
AuthorPosts
- The topic ‘Search field disappeared’ is closed to new replies.