-2

enter image description here

This is my form and i want to make all the select tabs in one line How and where i will write bootstrap class to make this all select box come in one row.

3
  • Please provide more details about the form?
    – DRUPWAY
    Commented Apr 25, 2017 at 7:13
  • Consider looking into this one: drupal.stackexchange.com/a/234195/62859 Commented Apr 25, 2017 at 7:16
  • Use hook_form_BASE_ID_alter() to get the form, then add #prefix having opening tags to the starting form select and add #suffix having closing, opening tags to rest form selects. Commented Apr 25, 2017 at 9:02

1 Answer 1

1

There is a module named field group. Download that module and then extend that. In Content type field edit form there a button will come with name of add group. Select HTML element and fill the required details and just arrange that in manage form display. U can add any css class. Then save that. Hope that will help

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.