Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Themes & Styling

Error in Quark base.html.twig?

Started by Michal Koza 8 years ago · 3 replies · 1019 views
8 years ago

I think, here is wrong placement of "/div" tag before "block footer"
Instead of:

HTML
        </section>

    </div>
{% block footer %}
    <section id="footer" class="section bg-gray">
        <section class="container {{ grid_size }}">
            <p><a href="http://getgrav.org">Grav</a> was <i class="fa fa-code"></i> with <i class="fa fa-heart-o pulse "></i> by <a href="https://trilby.media">Trilby Media</a>.</p>
        </section>
    </section>
{% endblock %}

    <div class="mobile-container">

it should be ("/div" after "block footer"):

HTML
        </section>

{% block footer %}
    <section id="footer" class="section bg-gray">
        <section class="container {{ grid_size }}">
            <p><a href="http://getgrav.org">Grav</a> was <i class="fa fa-code"></i> with <i class="fa fa-heart-o pulse "></i> by <a href="https://trilby.media">Trilby Media</a>.</p>
        </section>
    </section>
{% endblock %}
    </div>
    <div class="mobile-container">

Otherwise in IE 11 the footer is rendered on the top of the page (Mozilla and Chrome has no problem)

👍 1
8 years ago

Solved & merged by the Grav Team :)

8 years ago

After this change the setting "sticky-footer" doesn't seem to work anymore.

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by Pedro M, 2 months ago
4 193 2 months ago
Themes & Styling · by Ian, 2 months ago
3 91 2 months ago
Themes & Styling · by Norbert, 2 years ago
11 451 3 months ago
Themes & Styling · by Lukáš Findeis, 3 months ago
0 45 3 months ago
Themes & Styling · by Sebadamus, 4 months ago
5 125 3 months ago