Skip to content

Commit 55358c2

Browse files
authored
Merge pull request #1159 from danmichaelo/topbar-hook
Add topbar-container css hook
2 parents 7b196d5 + f988ad2 commit 55358c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

view/light.twig

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
<strong>{% trans "We're sorry but Skosmos doesn't work properly without JavaScript enabled. Please enable it to continue." %}</strong>
2525
</noscript>
2626
<a id="skiptocontent" href="{{ request.langurl }}#maincontent">{% trans "Skip to main" %}</a>
27-
{% if request.vocabid != '' or request.page == 'feedback' or request.page == 'about' %}<div class="topbar-white">{% endif %}
27+
<div class="topbar-container {% if request.vocabid != '' or request.page == 'feedback' or request.page == 'about' %}topbar-white{% else %}topbar-frontpage{% endif %}">
2828
<div class="topbar{% if request.vocabid != '' or request.vocabid == 'feedback' or request.vocabid == 'about' %} topbar-white{% else %} frontpage{% endif %}">
2929
{% include 'topbar.twig' %}
3030
</div>
31-
{% if request.vocabid != '' or request.page == 'feedback' or request.page == 'about' %}</div>{% endif %}
31+
</div>
3232
{% block headernav %}
3333
<div class="headerbar{% if request.vocabid == '' or global_search %} frontpage-spacing{% endif %}">
3434
{% include 'headerbar.twig' %}

0 commit comments

Comments
 (0)