Tagged: ,

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #228659

    Please, I will soon commence design with your enfold theme I purchased.
    I am in discusiion with a propective client, and he is suggesting that instead of your icon collapsible text box, he would like to have a full (non collapsible) Text Box on the Right Hand Side of the Top Menu Bar.
    Please, how can this be achieved with your theme?

    #229058

    Hey emin!

    Please go to Appearance > Editor and open Header.php file and find

    wp_nav_menu($args);
                                echo '</nav>';

    and add following right below it

    get_search_form();

    Then add following code to Quick CSS in Enfold theme options under Styling tab

    #header  #searchform { float: right; padding-top: 37px; }
    .main_menu { right: 20%; }
    #top #menu-item-search { display: none; }

    Please hire a freelance developer if further customization is needed

    Regards,
    Yigit

    #229167
    This reply has been marked as private.
    #229174

    Hey!

    Please try and let us know. Thread will be on hold and will be re-opened when you reply to this topic.

    Best regards,
    Yigit

    #250485

    Hello,

    I have the same problem. I can’t find “wp_nav_menu($args);” in header.php. I find it in includes/helper-main-menu.php, but after I put the code is not aligned with menu. Please can you help me?

    sorry for my english,
    Thank you

    #250680

    Hi!

    Thank you for the update.

    @shrinker31: Do you mind if we take a look the test site? We can align the search form and the menus using css. Please post the website url here as a private reply.

    Cheers!
    Ismael

    #471824

    Dear Support,

    Please, I am now trying to put your search icon now on the right hand side of the header above the mega menu on a client’s website.
    I could not find “wp_nav_menu($args);” in header.php. I found it in includes/helper-main-menu.php of the enfold child theme i used for the uber menu. But, after I put the code “get_search_form();” just below “echo ‘</nav>’;” and added your recommended CSS code to the Quick CSS, the search box is not displaying in the header above the menu; it is displaying below the header menu in the slider position.

    Please kindly assist

    Regards,

    Emin

    #472285

    Hi!

    Please add a widget area to your header instead by referring to this post – http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/

    Best regards,
    Yigit

    #472328

    Please, I did the following, but i am still not seeing the search box in the header:

    1. I added the following the the bottom of the child theme functions.php file:

    add_action( ‘ava_after_main_menu’, ‘enfold_customization_header_widget_area’ );
    function enfold_customization_header_widget_area() {
    dynamic_sidebar( ‘header’ );
    }

    2. I went to appearance —> widgets and created a widget area called “header”
    3. I added the search widget in the header widget area
    4. I added the following CSS code to the QuickCSS

    #header .widget {
    left: 50%;t
    padding-top: 0;
    position: absolute;
    top: 0;
    transform: translate(-50%);
    }

    Please, kindly assis

    #472332

    Hey!

    Please review your website now. I have adjusted custom CSS code slightly and then added one additional one to the bottom of Quick CSS field.

    Cheers!
    Yigit

    #472346

    It is OK now.
    A big thank you, Yigit, for your excellent support.
    I believe I can adjust the horizontal position of the search widget by adjusting the value of left: 50%;

    Please, I have other open threads. Kindly assist.

    Regards,

    Emin

    #472372

    Hey!

    You are welcome, glad we could help :)
    Yes, you can adjust the top and left values to change the position of your search box.
    We will look into your other threads

    Best regards,
    Yigit

Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘Placing a full Search Box’ is closed to new replies.