Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 802 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 802 Bytes

ScrivitoElasticSlider

A Scrivito widget for adding a fullscreen slider based on Bootstrap. Instead of an image tag as Background, a picture tag is used. The image versions will be generated automatically with the scrivito transform and using the height of the widget.

Prerequisites

This widget requires Bootstrap 3.

Installation

Add this line to your application's Gemfile:

gem 'scrivito_elastic_slider_widget'

Localization

The following code represents the default localization for English. Copy it to your en.yml and change it if necessary:

en:
  scrivito_ealstic_slider_widget:
    thumbnail:
      title: Elastic Slider
      description: Add a slider to your page that has a background image on each panel
    details:
      background_image: Background image