0

I am using drupal 8 and I am trying to get the layout of my content type "jacuzzi" to go from this: enter image description here

To this enter image description here

As you can see, I am using bootstrap. What do I have to change (css or tpl or something else?) to group the text fields and add the right classes?

Thanks in advance

  • Let me know , In which field you defined this text **prijis ** .... – logeshvaran May 17 '17 at 7:14
  • field_price (number(decimal)) – Sam Van Eenoo May 17 '17 at 7:22
0

You can use node--(machine name of contenttype).html.twig to achieve this thing.

<div class = "col-md-6 someclass">{{ content.field_machinenameofimage }}</div>
<div class = "col-md-6 someclass">{{ content.field_machinenameofotherfields }}</div>  

Replace the {{ content }} by the above code. And change the above code how you want to achieve.

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.