Mike Sneed
Member
Posted 7 months ago #
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/
Make your own styles having higher specificity.
Mike Sneed
Member
Posted 7 months ago #
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.
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.
Mike Sneed
Member
Posted 7 months ago #