Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #192191

    Hi there, is there any way to have the a search bar (not just the icon) up in the Secondary Menu?

    http://rddcf.wpengine.com/

    Any help would be appreciated.

    #192490

    Hey BrendaSarg!

    In WordPress dashboard, please go to Appearance > Editor and open Header.php file and find

    if(strpos($headerS,'bottom_nav_header') === false) avia_social_media_icons($social_args);

    and add following line right under it

    get_search_form();

    Regards,
    Yigit

    #192707

    That worked…only put it on the far left underneath…can I have it be in line with the Secondary Menu items? Like right after “Member LogIn”?

    Thank you!

    #192742

    Hi!

    Please use this:

    .header_meta #searchform {
    float: right;
    }
    
    .header_meta .sub_menu {
    margin-left: 200px;
    }

    Regards,
    Ismael

    #192835

    Is this in replace of the

    get_search_form();

    ? Or do I put it right after get_search_form();?

    Or does that code go in the css?

    #192938

    Hi!

    You should add Ismael’s code to Quick CSS in Enfold theme options under Styling tab or Custom.css file inside Enfold/Css folder

    Best regards,
    Yigit

    #193107

    ok, I did that, but it didn’t move?

    #193109

    Hey!

    It seems like CSS code is not being applied. Can you try adding the code in Style.css file of child theme in Appearance > Editor?

    Best regards,
    Yigit

    #193113
    This reply has been marked as private.
    #193263

    Hey!

    My bad! Please use this instead:

    #header_meta #searchform {
    float: right;
    top: -20px;
    position: relative;
    }
    
    #header_meta .sub_menu {
    float: right;
    margin-right: 250px;
    margin-top: -10px;
    }

    Remove browser cache then reload the page.

    Regards,
    Ismael

    #193275

    That worked! Thank you :)

    #193276

    Looks great on my big screen, but there is too much space in the secondary navigation for a smaller screen. Can I decrease that space? It pushes my logo down pretty far.

    #193437

    Hey!

    Please add following code to Quick CSS as well

    @media only screen and (max-width: 767px) { #header_meta #searchform { top: 0 ; width: 150px; } }

    Regards,
    Yigit

    #230977

    Hey there…I just updated my theme to 2.5.2 and applied this code again, but no search bar is showing?

    Can you have a look?

    http://rddcf.ca/

    #231175

    Hi!

    You need to edit header.php again. If you want to preserve the modifications that you made, please use a child theme. http://vimeo.com/channels/aviathemes/67221517

    Best regards,
    Ismael

    #486140

    Hi, this does not seem to be applicable to the latest vesion of enfold. do not see the code you referenced at the top. Could you please let me know how I would go about adding search to top menu now

    Thanks

    #486602

    Hey!

    Do this, http://www.kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/, and then drag the search widget to the header widget area and send us a link to your page and we’ll give you some CSS to move it around.

    Cheers!
    Elliott

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

You must be logged in to reply to this topic.