-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.

  • Please provide more details about the form? – DRUPWAY Apr 25 '17 at 7:13
  • Consider looking into this one: drupal.stackexchange.com/a/234195/62859 – Postovan Dumitru Apr 25 '17 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. – Vishal Patil Apr 25 '17 at 9:02
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, privacy policy and cookie policy

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