Does anyone know how to add classes to heading tags in contact form 7? I have tried using the standard and contact 7 convention for applying a class to a h2 tag but it always seems to target to the h2 in my css without a class.
Actually not having much luck setting the styles outside the form, either. I set a h2 class="contact-heading" on the template above the embedded code for the CF7 and it keeps referring back to the h2 styles set for the main-content. Any ideas?
I do not know if you know this, but if you have a CSS that is telling all H2 that if you are in the Text area behave like this or like that, you can have a hack which will overwrite that, example:
.myhack h2 {font-size:24px!important;}
which means that if the H2 in other places are 14px, if you put the class some where in the doc, ex:
Was thinking of setting the heading outside the form but thought there might be a way to do it within. What do you think?
http://wordpress.org/support/topic/plugin-contact-form-7-adding-class-to-form
Obviously, I would put that CSS in the main style sheet.
which means that if the H2 in other places are 14px, if you put the class some where in the doc, ex:
Then subtitle will be 24px, and not 14px.