Field multiple classes

Component ID

1914402

Component name

Field multiple classes

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

1247

Component created

Component changed

Component body

This is a simple module that provides settings to add first and last classes to items in field with multiple values.

The module extends the field display settings for fields which permit multiple values.

Usage

With this module you can simply float left all items from multiple field (for example images for gallery), and make better CSS style for them.

  1. In your content type add image field and set them for unlimited values.
  2. Now you can enable under field settings checkbox Add first and last class to field-item div and then set number for every item for which you want set last class.
  3. Enjoy better theming your new gallery :).

Dependencies

Field formatter settings API module.

Sponsorship

Sponsored by Ecopress a.s..