Skip to content

Commit 0da71cb

Browse files
committed
Fix: Update condition to access fullWidth value in blog detail block
1 parent 96bad66 commit 0da71cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% block block_werkl_blog_detail %}
22
{% set element = block.slots.getSlot('blogDetail') %}
33

4-
<div class="{% if element.config.fullWidth %}col-12{% elseif section and section.sizingMode === 'boxed' %}col-md-8 offset-md-2{% endif %}" data-cms-element-id="{{ element.id }}">
4+
<div class="{% if element.config.fullWidth.value %}col-12{% elseif section and section.sizingMode === 'boxed' %}col-md-8 offset-md-2{% endif %}" data-cms-element-id="{{ element.id }}">
55
{% sw_include '@Storefront/storefront/element/cms-element-' ~ element.type ~ '.html.twig' ignore missing %}
66
</div>
77
{% endblock %}

0 commit comments

Comments
 (0)