WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Contact Form 7] Bring CSS from CF7 into style.css stylesheet

[Resolved] [Plugin: Contact Form 7] Bring CSS from CF7 into style.css stylesheet

  • Hi,

    I can’t override the call to the original CF7 stylesheet. I copied and pasted the original styles into my style.css file but everything in CF7 just ignores my styles. How can I override the call to the original CSS styles. At that point I could copy/paste the original styles into my style.css file and customize.

    I’m using the latest CF7 as well as the latest WordPress version.

    Thanks heaps!
    M

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Takayuki Miyoshi

    @takayukister

    Make your own styles having higher specificity.

    Thank you Takayuki.. love the plugin.

    !important It doesn’t work for older browsers? I’m worried that I will use !important and older browsers will ignore those rules. Sometimes that’s the only way to be more specific.

    Plugin Author Takayuki Miyoshi

    @takayukister

    The !important is not recommended to use. You can make styles more specific by ways simpler than !important, as original styles in the Contact Form 7’s stylesheet are all low specific. In most cases you only need to add ancestor element in your styles.

    Thanks so much! Takayuki

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] [Plugin: Contact Form 7] Bring CSS from CF7 into style.css stylesheet’ is closed to new replies.