Hello – searched the forums, and am looking at (Enfold 3.8) trying to move the search icon to the top bar ONLY, and NOT have it appear to the right of the Main Menu. Here is the issue:
Using Header Secondary Menu in the Top Bar at the Right
In “functions-enfold”, I have replaced
if ((is_object($args) && $args->theme_location == ‘avia’) || (is_string($args) && $args = “fallback_menu”))
with
if ((is_object($args) && $args->theme_location == ‘avia2’) || (is_string($args) && $args = “fallback_menu”))
as instructed. This worksnicely, BUT the search icon appears in BOTH the Top Bar and to the right of the Main Menu? Can you help me remove from the Main Menu?
***UPDATE – The above code works fine! The issue was being caused because I hadn’t selected a menu to use for the Main Menu under “Appearance -> Menus”! Once I did, this problem fixed itself!
Thanks for the excellent work!