I'm quite new to Drupal 8 and Drupal in general and I'm stuck at some point on a website for a client.
I created a global layout with a custom theme I coded myself, and added a custom content type for the home page. I have almost exactly what I want except for :
I am trying to create a template for a paragraph type name is "hero Image". I have added three images in this paragraphs type.
create a new template for this type. template name is "paragraph--hero_image.html.twig"
When I render the page its rendering whole template code three time. I would like to add a wrapper div/class above this template render. How can achieve this.
here is the template code
Hello
stupid of me, I don't know how to align images on same line. I mean images with field image as in that example : http://neralala.info/node/178 (mayo)
I know I must change something in CSS, but in that case, what code must I add at the end of style.css to have them aligned?
The name of the field is "mesimages".
I tried
I'm a seasoned D7 developer, and new to D8, but after searching online for quite some time and pouring through the debugger variable values, I cannot find a clear method to manipulate data to pass to a twig template.