Skip to content
Snippets Groups Projects
Commit 6bac3237 authored by Ivica Puljic's avatar Ivica Puljic
Browse files

Issue #3410305 by pivica: Add nav CSS class for navbar-nav main menu

parent 94903329
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@
{# @todo - probably not the best way to get unique element ID, but we do
not have Html::getUniqueId() in twig. This requires more investigation. #}
{% if menu_level == 0 %}
<ul{{ attributes.addClass('navbar-nav') }}>
<ul{{ attributes.addClass(['nav', 'navbar-nav']) }}>
{%- else -%}
<ul {{ navbar_type ? 'class="dropdown-menu"' }} aria-labelledby="{{ aria_ids }}">
{%- endif -%}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment