Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #212462

    Is there a way to add a Search Box next to magnifying glass icon that stays visible all the time, not just on mouse click?

    I would need the code and where to put it, if there is a way to do it.

    #212545

    Hey tdgano!

    You can edit header.php, find this code on line 178:

    wp_nav_menu($args);

    Below, you can add the search form code:

    echo "<div class='s2'>";
    get_search_form();
    echo "</div>";

    Add this on Quick CSS to position the searchform:

    .s2 {
    position: absolute;
    right: -0;
    }

    Best regards,
    Ismael

    #225740

    I just want to add a word like “Search” or anything on the left of magnifying glass but it not show correctly. It show on top of magnifying glass…

    #225926

    Hey!

    Can you please give us a link to the page with the “Search” text? How did you add it?

    Best regards,
    Ismael

    #229780

    Hi,

    I don’t had it, i want to know how to add it between the last button and the magnify glass icon.
    Because lot of people don’t look correctly and it’s easier for them to see a word just before.

    I think I need to edit the css file but I do not know where and how.

    Thanks again :)

    • This reply was modified 10 years, 9 months ago by nparent.
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Is there a way to add a Search Box next to magnifying glass icon’ is closed to new replies.