I need to make some elements of susy's gallery mixin span two columns, the problem is as shown in the picture it does not push the other elements after it, even though I tried to do that manually. How could this be done.
The link to the code https://github.com/iyedg/IGBlogTheme
Asked
Active
Viewed 390 times
2

theatropos1994
- 155
- 3
- 10
-
What does your code look like? What have you already tried? It's kind of hard to help you based on just an image – Stephan Muller Sep 21 '14 at 11:43
-
I've got a similar issue. How did you resolve this? – Seb Mar 14 '15 at 21:56
1 Answers
0
Here is the perfect tutorial about gallery with different size items.
And the main point is: You can't achieve this with gallery()
mixin, but it's possible with span()
mixin by something like
$susy: (
columns: 12,
output: isolate
);
// Assuming output is set to isolate
.gallery__item {
margin-bottom: gutter();
@include span(4 of 12 split);
&:nth-child(4),
&:nth-child(7), {
width: span(8 of 12 split);
}
}

Marina Zubkova
- 95
- 1
- 2
- 7