personalise a form - Post ID 196963

User 86456 Photo


Ambassador
10 posts

Hi folks

i'm sure this is simple but . . . .

I've buit a form here http://79.170.40.241/corporateletting.com/contact/

Can anybody advise me how I:

1. change the background colour of the input fields?

2. change the text couor of error messages?

THANKS!!!




User 187934 Photo


Senior Advisor
20,190 posts

Make a custom css style sheet with these lines and save it to the default.css location.

#docContainer .fb-input-box {
background-color:red;
}
#docContainer .fb-textarea {
background-color:red;
}
#docContainer label.error {
color: #FF0000;
}

Then add this line under the css style page link that's already on your form html page.
<link rel="stylesheet" type="text/css" href="theme/default/css/custom.css" media="screen">
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

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.