32

When i add bootstrap button class, like..

[submit class:btn btn-main btn-lg "Send"]

on browser i see it show only one class add.

<input class="wpcf7-form-control wpcf7-submit btn" >

I need others 2 class add also Help Me..

S. M. Momin
  • 389
  • 1
  • 3
  • 12

3 Answers3

77

If I remember correctly, you need to add the class attribute to each one.

Try this instead:

[submit class:btn class:btn-main class:btn-lg "Send"]
GreatBlakes
  • 3,971
  • 4
  • 20
  • 28
Moris
  • 2,903
  • 16
  • 15
23

Also CF7 used to have bug: if you put "class:" after "Send" nothing is added.

Vyshnia
  • 569
  • 1
  • 5
  • 13
4

Have also just discovered if you put classes after a placeholder it doesn't work for some reason but putting it before does:

[text* your-name class:ast-col-xs-12 class:ast-col-sm-12 class:ast-col-md-6 class:ast-col-lg-6 placeholder "e.g. Joe Bloggs"]
Alex Myers
  • 6,196
  • 7
  • 23
  • 39
Jen Bird
  • 41
  • 3