Need to change the form elements...

User 1991012 Photo


Registered User
55 posts

Hi everybody,
I need to change the placeholders' font color used in the form elements. By default, it is gray but I need to color it different. Any idea how I can do it?
Thanks in advance,
Z.
User 187934 Photo


Senior Advisor
20,188 posts

Hi Zorro,
You can either alter the main.css after export or add a custom style sheet or do it in the head area.
<style>
::placeholder { /* Firefox, Chrome, Opera */
color: blue !important;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
color: blue !important;
}

::-ms-input-placeholder { /* Microsoft Edge */
color: blue !important;
}
</style>

I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 1991012 Photo


Registered User
55 posts

Thanks Eric.
I will surely try it and come back to you with my feedback.
User 1991012 Photo


Registered User
55 posts

Works. Thanks a lot.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.