No commit activity in last 3 years
No release in over 3 years
This Widget allows you to use a two-column layout and fill it with widgets.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

ScrivitoTwoColumnWidget

This gem adds a Scrivito widget for dividing pages and page sections into two columns to your app.

Prerequisites

Requires Bootstrap in your Rails App.

Installation

Add this line to your application's Gemfile:

gem 'scrivito_two_column_widget'

Add this line to your application stylesheet manifest:

*= require scrivito_two_column_widget

Customization

We recommend to use Scrivito Advanced Editors which provides nicer controls.

Localization

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

en:
  scrivito_two_column_widget:
    thumbnail:
      title: Two Columns
      description: Two columns that can be filled with widgets
    details:
      column_1_width: Width for column 1
      grid_size: Gird Size
      keep_columns: Show columns on mobile