• Resolved Alison

    (@anonymical7)


    Hello,

    Things are running great. But I have one question that I cannot seem to pin down. Inside the text field it displays text as a light grey which is what the site needs in general. However, In the field itself where people enter data I would like it to be black.

    What would the css or code look like? I cannot use
    .entry-content label {color: black;}
    because that changes all labels.

    It must be simple for readers here and Mike, but im a newbie… Thanks for your help. I bet many others have this question as well from what I have seen googling around in attempts to figure this out.

Viewing 7 replies - 1 through 7 (of 7 total)
  • How to change the colors for the text input fields:
    Go to the contact form settings page, scroll down the page, look
    for the setting “CSS style for form input fields on the contact form”.

    change:
    text-align:left; margin:0;

    to:
    text-align:left; margin:0; background-color:#CCCCCC;

    (set the color to the actual code you need)

    Note: you can change font color and background to any html hex color code
    text-align:left; margin:0; color:#000000; background-color:#CCCCCC;
    text-align:left; margin:0; border: 1px solid #666666;
    also, these custom settings will be safe when upgrading the plugin.

    If you still need help, please provide a URL to your page with the form.

    Thread Starter Alison

    (@anonymical7)

    Thanks Mike, it worked perfectly! Thanks!

    Hi,

    I want to change the text color (not the color at input fields) to white (color:#ffffff;) but nothing happen? I use the german version so it is written in the folowing line: “CSS-Style für die Bezeichner der Eingabefelder: width:120px; text-align:right; float:left; clear:left; padding-top:8px; padding-right:10px; color:#ffffff;“.

    My contact form is on url: https://www.baerenzauber.de/?page_id=46 .

    Any idea, what′s going wrong?

    Thanks
    Sebastian

    Thread Starter Alison

    (@anonymical7)

    I believe its addressed in another post.

    You add .entry-content label {color: black;}

    to your css style sheet it changes the *labels*

    Color can be #000 numerical as well.

    Thank you:) Now it is working.

    But now I need to change the text input color, but only for drop down entries. Is there an other shortcut for this?

    Sebastian

    Thread Starter Alison

    (@anonymical7)

    Glad I could help,

    That I dont know, but maybe maestro Challis would?

    I really link this form https://lpgconversionsmelbourne.com.au/lpg-rebate-locator/

    Could anyone tell me please if it is a wordpress plugin. I can’t seem to find it anywhere?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Fast Secure Contact Form] Adding code to change font color inside the field?’ is closed to new replies.