WordPress.org

Forums

Fruitful
[resolved] Search Box Issue (9 posts)

  1. albini77
    Member
    Posted 1 year ago #

    Hi :) i would like to know how to enable searching on the search box just clicking on the search icon, like most sites like http://www.wordpress.org for example.

    Thanks a lot.

  2. Andrew
    Forum moderator & snail smusher
    Posted 1 year ago #

    Could you give another example? I'm not sure I understand what you mean.

  3. albini77
    Member
    Posted 1 year ago #

    Sorry about my english, first.

    The thing is that it seems that the search icon (a magnifying glass) on the search box is not working, so to do any search is necessary to hit the enter key after typing on that search box.

    At wwww.wordpress.org for example is not necessary to do that, just clicking on the search icon is enought to do the search.

    Here's a link to my temporary site: http://luismiguelsanmartin.com/blog/

    Just compare my search box with the wwww.wordpress.org one.

    Thanks :D

  4. albini77
    Member
    Posted 1 year ago #

    I meant http://www.wordpress.org sorry

  5. Andrew
    Forum moderator & snail smusher
    Posted 1 year ago #

    In Jetpack's "Edit CSS" option add this CSS:

    #searchsubmit {
        display: block;
        background: none;
        text-indent: -9999em;
        position: absolute;
        right: 16px;
        width: 35px;
        height: 32px;
    }
  6. Andrew
    Forum moderator & snail smusher
    Posted 1 year ago #

    Actually instead try using this code:

    #searchform {
        position: relative;
        display: inline-block;
    }
    
    #searchsubmit {
        display: block;
        background: none;
        text-indent: -9999em;
        position: absolute;
        right: 0;
        width: 35px;
        height: 32px;
    }
  7. albini77
    Member
    Posted 1 year ago #

    Mmmm it's fixed half, the search icon does not appear now but clicking on the empty space performs searches perfectly :D

    http://luismiguelsanmartin.com/blog/

  8. albini77
    Member
    Posted 1 year ago #

    Hey it works great now!
    You saved me, thanks a lot mate.

  9. albini77
    Member
    Posted 1 year ago #

    Sorry but after upgrading to v1.2 the search icon (a magnifying glass) is not appearing, just shows a black square that turns to red moving the mouse icon over it.

    Here's my site --> http://luismiguelsanmartin.com/blog/

    Could you give a little tip please?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic