Support » Plugin: Contact Form 7 » [Plugin: Contact Form 7] Changing background color in widget

  • Second question of the day. I have found that to change the background color u need to

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

    to style.css.

    But is this the same if your using it in a widget? I only want the background changed in the widget. Also is it possible to have a image behind it instead (Still talking about in widget form)?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have tried changing the coloumn.css to have the code but it still changes the main contact page background as well. Thinking that maybe has something to do with div id, as both cntact forms have different id.

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

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Just specify its parent element’s id or class.

    .widget div.wpcf7 { background: #000; }

    Just ensure that the widget that its contained in is of class “widget” (which is should be).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Contact Form 7] Changing background color in widget’ is closed to new replies.