Change font size and style of placeholder

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Change font size and style of placeholder

This topic contains 1 reply, has 2 voices, and was last updated by

2 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #25429



    I’m trying to change the size and font of the placeholder text.

    I have looked everywhere but not found.

    Can you tell me how to do it?

    Otherwise, is it possible to deactivate the modifications via the admin and process everything in a css style sheet?

    Because when you want to adapt the aesthetics it is constantly necessary to overwrite the default style, which is not very practical.

    Thanks in advance



    The placeholder automatically changes to the input font, but you can style it via custom CSS if you want to:

    input.orig::placeholder { 
      color: red !important;
    input.orig:-ms-input-placeholder {
      color: red !important;
    input.orig::-ms-input-placeholder { 
      color: red !important;

    Please note, that these styles cannot be aggregated into one comma separated rule, the browsers would not render the correclty.

    The style changes on the back-end are processed into a static CSS file, which is then loaded on the front-end. The CSS file is dynamically generated depending on the search settings to minimize the output file size.

    Ernest Marcinko

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

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.