Support » Plugin: Simple Basic Contact Form » Simple Baisc Contact Form: type not showing

  • Resolved christophersurgenor

    (@christophersurgenor)


    When anyone types in the ‘Your message’ box, the type doesn’t show on the screen – looks like the font color is white on a white background.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WPKube

    (@wpkube)

    Hi @christophersurgenor

    The plugin does not change the appearance of the input boxes, the styling of those comes from the theme.

    In your theme’s style.css there is this piece of code on line 292:

    body.aft-dark-mode,
    body.aft-dark-mode button,
    body.aft-dark-mode input,
    body.aft-dark-mode select,
    body.aft-dark-mode optgroup,
    textarea{
        color: #ffffff;
    }

    It’s code that is meant to change text color on dark mode (your theme probably has dark and light mode in the options). But the person who wrote that CSS code made a mistake and applied it to textarea regardless of the mode. That code should have been:

    body.aft-dark-mode,
    body.aft-dark-mode button,
    body.aft-dark-mode input,
    body.aft-dark-mode select,
    body.aft-dark-mode optgroup,
    body.aft-dark-mode textarea{
        color: #ffffff;
    }

    You could contact the theme author about that or simply put the following code in WP admin > Appearance > Customize > Additional CSS:

    #simple-contact-form fieldset textarea {
        color: inherit;
    }

    That will target only the textarea that our plugin outputs and fix the color issue.

    Thread Starter christophersurgenor

    (@christophersurgenor)

    Thanks for your quick reply. I have used your specific code for the plugin and it now works fine. I will inform the theme developer about the bug.

    Plugin Author WPKube

    (@wpkube)

    You’re welcome, happy to hear it’s sorted out.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.