Viewing 5 reply threads
  • Author
    Posts
    • #3704
      giolf
      Member

      Hi,

      i would like to know if there is a way to have a group field with a row bigger than 12 columns.

      this is my example:

      but i would like to have this result without touch css:

      how can i do ?

      thank you

    • #3705
      jcrist
      Member

      You can use the template field parameter to accomplish this, look through them in includes/class-piklist-form.php

      If one of the pre-made templates doesn’t suit your needs, you can create your own: https://piklist.com/user-guide/docs/field-templates/

      Also be sure to look through the Piklist demo files to see some examples.

    • #3706
      Steve
      Keymaster

      As @jcrist mentioned you can use the template parameter.

      'template' => 'field'

    • #3707
      giolf
      Member

      Thank about your reply.

      If I understood right,
      I need to create my own template and then use the parameter template in order To call it.
      example:
      I made a template which his name is:’test’

      now with the parameter ‘template’ I can use it where I want in this way
      ‘template’=>’test’

      It is right ?

      Thanks

    • #3708
      Steve
      Keymaster

      Yes. You can make your own and define it that way. But Piklist already has a field template for what you what.

      'template'=> 'field'

    • #3709
      giolf
      Member

      thank you @Steve and @jcrist

Viewing 5 reply threads
  • The topic ‘Group fields – columns’ is closed to new replies.