Another very similar question has already been asked.
I've set a gallery composed of elements in six columns. However I want the first element to span the first two columns of the gallery.
$deskcol : 12;
.colSixth {
@include gallery(2 of $deskcol);
}
.colSixth.strap {
??
}
<div class="colSixth strap">
content should span two Sixths
</div>
<article class="colSixth">
content spans one sixth
</article>
<article class="colSixth">
content spans one sixth
</article>
<article class="colSixth">
content spans one sixth
</article>
<article class="colSixth">
content spans one sixth
</article>
Is there a way to offset the gallery
function by two? I've tried isolating it. And I've added extra padding on the .strap
element, but it pushes the first row of gallery out and off the page. And even tried &:first-child
selectors in various flavours.