[Support request] Search box edit

Home Forums Support [Support request] Search box edit

Home Forums Support Search box edit

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #515757
    Bebe

    I need the search button to the right of the box on this site header
    http://absolutewebdesigns.co/aberdeen/

    GP Premium 1.5.6
    #515886
    Leo
    Staff
    Customer Support

    Try adding this in the header-right div:
    get_search_form();

    #515915
    Bebe

    ok, so how is that supposed to be added to the code?

    #515916
    Bebe

    Where does it go in here? (and I need it to just be a search box…not a huge button with it)

    <div class="grid-25 header-right">
    </div>
    #516075
    Leo
    Staff
    Customer Support

    That can go into the HTML content.

    Style-wise, that’s just the default WordPress search box. Perhaps look for a plugin if you have a specific style you are going for?

    #517547
    Bebe

    Just a simple small search box. Nothing huge or with a large button on it.

    #517548
    Bebe

    And what I’m asking is that you give me the full code to insert the search box. What you pasted above isn’t showing up (obviously because there’s not one on the site).

    #517572
    Bebe

    In fact, no code I’m using on that hook is showing up.

    #517899
    Leo
    Staff
    Customer Support

    Sorry I forgot the php part.

    Try this and make sure execute PHP is checked:

    <div class="grid-25 header-right">
        <?php get_search_form(); ?>
    </div>

    I do see hooks content showing up already.

    #517964
    Bebe

    Thanks. That’s the form I need to modify the look of. I need that search button to be hidden. or at the very least smaller and to the right of the text box.

    #518106
    Leo
    Staff
    Customer Support

    Try this CSS:

    .header-right .search-submit {
        display: none;
    }
Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.