I am currently converting a page to use the Susy grid, and so far it
works flawless, except for one element.
I have a site with 12 columns, and inside there is one element with 10
columns, containing three elements. I need to get these elements to
span all 10 columns, but do not know how. It does span 9 columns now,
but how can I make it span all 10?
I need more information. What is your current code?
Here's my guess: you need to pass the context to the nested elements.
instead of e.g. "span-columns(4)", you need e.g. "span-columns(4,10)". Since everything is relative to the container it's in, Susy needs to know when you are in a nested context, and exactly how many columns that context spans.
On Sunday, August 26, 2012 11:37:44 PM UTC-6, kogitoapp wrote:
> Greetings,
> I am currently converting a page to use the Susy grid, and so far it > works flawless, except for one element.
> I have a site with 12 columns, and inside there is one element with 10 > columns, containing three elements. I need to get these elements to > span all 10 columns, but do not know how. It does span 9 columns now, > but how can I make it span all 10?
> instead of e.g. "span-columns(4)", you need e.g. "span-columns(4,10)".
> Since everything is relative to the container it's in, Susy needs to
> know when you are in a nested context, and exactly how many columns
> that context spans.
I used span-columns with context, that was my first guess, so I added
context to all versions. The actual problem is how to span an even
number of columns with and odd number of elements.
On Monday, August 27, 2012 2:22:15 AM UTC-6, kogitoapp wrote:
> > instead of e.g. "span-columns(4)", you need e.g. "span-columns(4,10)". > > Since everything is relative to the container it's in, Susy needs to > > know when you are in a nested context, and exactly how many columns > > that context spans. > I used span-columns with context, that was my first guess, so I added > context to all versions. The actual problem is how to span an even > number of columns with and odd number of elements.