Problem/Motivation

Port Feature Carousel as Card Grid

1.- Rename “Feature Carousel” paragraph type to “Card Grid”.

2.- Add logic to Feature Carousel template to show items in a grid based on how many items are there, with special cases for:

  • 1 item: fullwidth
  • 2 items: row of 2
  • 3 items: row of 3
  • 4 items: grid of 2 by 2
  • 5 items: row of 3, row of 2 (in a 3-up grid)
  • 6 items: grid of 3 by 3

3. Ensure empty title (i.e. spaces only) are properly stripped, but that subsequent rows are spaced properly, like this example page:

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jwilson3 created an issue. See original summary.

  • jwilson3 committed 262e832c on 2.2.x
    Issue #3450262 by jwilson3: Rivet - Port Feature Carousel as Card Grid
    
jwilson3’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.