Moin,
ich hatte gerade das gleiche Problem. Mit diesem Template wird die Überschrift unter den Content und damit auch das Image geschoben:
Code:
{% extends "@Contao/content_element/hyperlink.html.twig" %}
{#
** Add changes to the base template here. **
Hint: Try adjusting blocks and attributes instead of
overwriting the whole template. This way your version
can remain compatible with future changes to the base
template as well as adjustments made by extensions.
Currently available blocks:
"picture_component", "image", "sources", "source",
"schema_org", "figure_component", "media",
"media_link", "caption", "caption_inner",
"content", "text_link", "image_link",
"headline_component", "headline_attributes",
"headline_inner", "wrapper", "wrapper_tag",
"attributes", "inner", "metadata", "style",
"script"
Example:
{% block picture_component %}
{{ parent() }}
My additional content for 'picture_component'…
{% endblock %}
#}
{# Erst Content, dann Heading #}
{% block inner %}
{% block content %}
{{ parent() }}
{% endblock %}
{% block headline_component %}
{{ parent() }}
{% endblock %}
{% endblock %}
Gruß
Mathias