This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Is it possible to make the placeholder text disappear once the search field is c

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Is it possible to make the placeholder text disappear once the search field is c

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #13475
    tbgdmsupporttbgdmsupport
    Participant

    Is it possible to make the placeholder text disappear once the search field is clicked?
    If so, is it something we an adjust in the configuration settings?
    Thanks

    #13476
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    It is possible, but there is no option for that. You will need this custom CSS code:

    [html]input.orig:focus::-webkit-input-placeholder { color:transparent !important; }
    input.orig:focus:-moz-placeholder { color:transparent !important; }
    input.orig:focus::-moz-placeholder { color:transparent !important; }
    input.orig:focus:-ms-input-placeholder { color:transparent !important; }[/html]

    #13484
    tbgdmsupporttbgdmsupport
    Participant

    Cool. It works now. Thank you!

    #13485
    tbgdmsupporttbgdmsupport
    Participant

    Cool. It works! Thank you!

    #13486
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Is it possible to make the placeholder text disappear once the search field is c’ is closed to new replies.