Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested grids - help appreciated #40

Open
klickreflex opened this issue Jun 19, 2013 · 0 comments
Open

Nested grids - help appreciated #40

klickreflex opened this issue Jun 19, 2013 · 0 comments
Labels
Milestone

Comments

@klickreflex
Copy link

Hey there,

I'm really starting to like Zengrids but have one issue I can't get solved:
How are nested grids supposed to work?

I have a basic layout with 12 columns: 3 col sidebar, 9 col main.
Now I told the main column to be a nested container using zen-nested-container() after zen-grid-item() of the main column. When I now start creating new grid items inside main they seem to be calculated based on a new 12 column grid, based inside main column, this of course results in having smaller column widths, when I actually want to have the same grids inside my nested grid.

Is this supposed to work like this or am I missing a point here?

Background: I'm creating a zen subtheme for Drupal and want to layout my individual fields inside the main column (using display suite or node templates) to be on the grid. Is there another way to tackle this?

Thanks & regards,
Daniel

Update: It seems to work the way I need it if I set the nested grid to have 9 columns using $zen-column-count: 9;
Is this they way it's supposed to be done?

@JohnAlbin JohnAlbin added the task label Feb 28, 2014
@JohnAlbin JohnAlbin added this to the 2.0 milestone Feb 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants