Closed NicoHood closed 3 years ago
You can just use style attribute inside the if statement like
<div class="column col-4 col-md-6 col-xs-12 {% if loop.index == 4 %}show-md hide-xs{% endif %}" {% if loop.index == 4 %}style="display:none !important"{% endif %}>
I dont know why, but I just noticed the hide
is not required at all. I dont know how I could oversee this.
@crapthings Also thanks a lot for this useful hint. I guess this issue can be closed then.
I want to use the following code:
It should show:
In order to get this working I needed to add
I think it would make sense to add this tiny feature.