Skip to content
Snippets Groups Projects

Resolve "When using all 3 columns of a section, the middle column holds 9 bootstrap columns instead of 6"

1 file
+ 23
1
Compare changes
  • Side-by-side
  • Inline
@@ -95,7 +95,7 @@
{% set mainclasses = [
'component-row__column',
'component-row__center',
'col-md-9',
'col-md-6',
'col-sm-12',
'col-xs-12',
]
@@ -146,6 +146,28 @@
'col-xs-12',
]
%}
{% elseif hasleft is not empty and hasright is not empty %}
{%
set mainclasses = [
'component-row__column',
'component-row__center',
'section-has-no-column',
'col-md-6',
'col-sm-12',
'col-xs-12',
]
%}
{% else %}
{%
set mainclasses = [
'component-row__column',
'component-row__center',
'section-has-no-column',
'col-md-9',
'col-sm-12',
'col-xs-12',
]
%}
{% endif %}
{% if variants.box_effects.value == 1 and variants.box_effects.value != '' %}
Loading