Jump to content

CSS Grid Help


joshuaj

Recommended Posts

I like the fact that IPS now has it's on responsive grid. I'm wondering how I can get the grid to properly wrap. I was reading the documentation and it stated that it will only wrap the grid if the spans are all equal. How does one get the spans to wrap properly with different spans?

 

<div class='ipsGrid'>
	<div class='ipsGrid_span3'>{template="widgetContainer" group="pages" app="cms" params="'col1', $widgets, 'vertical'"}</div>
	<div class='ipsGrid_span6'>{template="widgetContainer" group="pages" app="cms" params="'col1', $widgets, 'vertical'"}</div>
	<div class='ipsGrid_span3'>{template="widgetContainer" group="pages" app="cms" params="'col1', $widgets, 'vertical'"}</div>
	<div class='ipsGrid_span3'>{template="widgetContainer" group="pages" app="cms" params="'col1', $widgets, 'vertical'"}</div>
  	<div class='ipsGrid_span3'>{template="widgetContainer" group="pages" app="cms" params="'col1', $widgets, 'vertical'"}</div>
	<div class='ipsGrid_span3'>{template="widgetContainer" group="pages" app="cms" params="'col1', $widgets, 'vertical'"}</div>
	<div class='ipsGrid_span3'>{template="widgetContainer" group="pages" app="cms" params="'col1', $widgets, 'vertical'"}</div>
</div>

 

This is the code I'd like to implement, however; the third span_3 is having margin left issues and it doesn't display evenly. I was reading about data-ipsGrid , but I'm not sure exactly how it works in this case.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...