Skip to content

Articles display issue #1

@slabbdev

Description

@slabbdev

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

ISSUE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions