WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] what class/div etc to style the color of the input text ? please (4 posts)

  1. Pompette
    Member
    Posted 1 year ago #

    HI everybody
    I've put the contact form for a friend, but the background is black and the text appears really dark grey.

    I know a bit of CSS, I've tweacked a _S theme for him but can't find the right bit of code to put the text you type in white so you can actually see what you are typing...
    any chance someone can help ?

    I've tried

    span.wpcf7-form-control-wrap {color: #ffffff;}
    div.wpcf7-text {color: #ffffff;}

    same with p

    and no changes... :(

    http://wordpress.org/extend/plugins/contact-form-7/

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Try using Firefox with the Firebug add-on for this kind of CSS troubleshooting. Or use whatever developer tool is available in your web browser.

  3. davejampole
    Member
    Posted 1 year ago #

    This will set the text box border and fill color of the text box itself.

    /* sets CF7 textarea border and fill color */
    .wpcf7 input[type=text], .wpcf7 textarea {
    	border: 1px solid #A0A0A0;
            background:#CCE5FF;
    }

    Place in your style.css file.

  4. Pompette
    Member
    Posted 1 year ago #

    thank you so much ! success !

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags