Articles display issue
Opened this issue · 0 comments
bZez commented
items are loaded like that:
.twig file
{% for article in articles[:8] %}
<article class="col-md-3">
<h2><a class="articleTitle" href="{{ path('article', { 'id': article.id }) }}">{{ article.title }}</a></h2>
<p>{{ article.content[:500] ~ ' ...'}}</p>
</article>
{% endfor %}
.css file
article {
float:right !important;
display: block !important;
}
Take a look