WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] Change background Color of Contact form only (4 posts)

  1. hewitts
    Member
    Posted 2 years ago #

    Same as title, I want to learn how to change the background Color of the actual Contact form only.

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

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 2 years ago #

    Simply add a CSS style to the contact form div.

    div.wpcf7 {
    	background-color: #777;
    }

    Add this to your theme's style sheet (style.css).

  3. hewitts
    Member
    Posted 2 years ago #

    Thanks,

    So I add this to the style.css sheet.
    div.wpcf7 {
    background-color: #777;
    }

    What Do I add to the contact form ?

  4. hewitts
    Member
    Posted 2 years ago #

    Sweet, worked it out. Thanks. (any one else reading= Just add the code above to your style sheet and it works.) Nothing needed for your contact form.

    Wow, when you change the colour to an alternative color you realize it would look a lot better when rounded edges. Next mission...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic