This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 3 years, 4 months ago.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
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 Ernest Marcinko 3 years, 4 months ago.
Hi,
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
Hi,
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.
Best,You must be logged in to reply to this topic.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |