2017 © Pedro Peláez
 

elgg-plugin ui_grid

Responsive grid Elgg

image

hypejunction/ui_grid

Responsive grid Elgg

  • Sunday, November 29, 2015
  • by hypeJunction
  • Repository
  • 1 Watchers
  • 0 Stars
  • 19 Installations
  • CSS
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Responsive Grid for Elgg

Elgg 1.11 Elgg 1.12, (*1)

Features

  • Mobile-first responsive grid system
  • Built with Compass and Susy

Spans Columns Gallery, (*2)

Usage

Grid

To create a 6-column span, simply add elgg-small-6 class to your element. To make it responsive, i.e. 12 columns on small devices, and 6 columns on larger devices, use elgg-small-12 elgg-medium-6., (*3)

By default, spans are not floated. Wrap your elements in elgg-row, to float them., (*4)

<div class="elgg-row">
    <div class="elgg-small-12 elgg-medium-6">Column 1</div>
    <div class="elgg-small-12 elgg-medium-6">Column 2</div>
</div>

To add horizontal and vertical gutters, either use padding in nested elements, or add elgg-column class., (*5)

<div class="elgg-row">
    <div class="elgg-column elgg-small-12 elgg-medium-8">Column 1</div>
    <div class="elgg-column elgg-small-12 elgg-medium-4">Column 2</div>
</div>

User Gallery, (*6)

You can apply elgg-gallery-$screen-$columns classes to any list. For example, create a responsive user gallery, that has 6 columns on mobile devices, 8 columns on medium devices, and 12 columns on large devices, use:, (*7)

echo elgg_list_entities(array(
    'types' => 'user',
    'list_type' => 'gallery',
    'gallery_class' => 'elgg-gallery-small-6 elgg-gallery-medium-8 elgg-gallery-large-12',
    'limit' => 48,
));

The Versions

29/11 2015

dev-master

9999999-dev http://hypejunction.com

Responsive grid Elgg

  Sources   Download

GPL-2.0

The Development Requires

by Ismayil Khayredinov

plugin grid elgg

29/11 2015

1.0.0

1.0.0.0 http://hypejunction.com

Responsive grid Elgg

  Sources   Download

GPL-2.0

The Development Requires

by Ismayil Khayredinov

plugin grid elgg