Skip to content

Articles display issue #1

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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