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

This topic contains 4 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 6 years, 10 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #13475
    tbgdmsupport
    tbgdmsupport
    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 Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

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

    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; }
    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #13484
    tbgdmsupport
    tbgdmsupport
    Participant

    Cool. It works now. Thank you!

    #13485
    tbgdmsupport
    tbgdmsupport
    Participant

    Cool. It works! Thank you!

    #13486
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


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.