Beekeepersblog logo

Contact Form 7 WordPress plugin image icon

How to add more than one class to the Contact-Form-7

/ Contact Form 7

Pay close attention with the spaces in the Contact-Form-7 syntax. It is very important. Like a regular css you cannot add multiple classes under one syntax, ex: class:foo bar. You can add only one class per syntax. So for adding single class you need to use class:foo.

<label> Your Name
    [text your-name class:foo] </label>

To add more than one class, you have to repeat the same syntax. Like class:foo and class:bar

<label> Your Name
     [text your-name class:foo class:bar] </label>