Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Error in Quark base.html.twig?

Started by Michal Koza 9 years ago · 3 replies · 1462 views
9 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
9 years ago

Solved & merged by the Grav Team :)

9 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 themetman, 6 days ago
1 104 3 days ago
Themes & Styling · by AH, 3 weeks ago
1 224 3 days ago
Themes & Styling · by Bruno, 4 years ago
6 1388 3 days ago
Themes & Styling · by TomW, 3 weeks ago
2 227 5 days ago
Themes & Styling · by FrViPofm, 2 months ago
4 687 2 months ago