Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Strong only horizontal menu item name

Anna Siwike66f14e6f1bf
diff --git a/templates/menu.html b/templates/menu.html
index 3289e4efb3..9206ab8fd8 100644
--- a/templates/menu.html
+++ b/templates/menu.html
@@ -13,7 +13,11 @@
{% for child in children %}
<li>
<a href="{{ child.get_url }}">
- <strong>{{ child }}</strong>
+ {% if horizontal %}
+ <strong>{{ child }}</strong>
+ {% else %}
+ {{ child }}
+ {% endif %}
</a>
</li>
{% with grandchildren=child.get_children %}