Components
Component Style Options Overview
Each paragraph comes with a set of styles that can be updated for the display of that section. The styles are nested in a dropdown section below each of the paragraph edit forms. Included styles are listed below.
- Margin
Options: * Top and Bottom Small * Top and Bottom Medium * Top and Bottom Large * Top Small * Top Medium * Top Large * Bottom Small * Bottom Medium * Bottom Large - Padding
Options: * Top and Bottom Small * Top and Bottom Medium * Top and Bottom Large * Top Small * Top Medium * Top Large * Bottom Small * Bottom Medium * Bottom Large - Container
Options: * Standard (this is the standard container width) * Container Fluid (this will cause the container to be full width - Width
Options: * 75% * 50% * 33% * 25% - Background
Options: * Primary * Secondary * Dark * Light
The default options can be altered after installation. Currently the only options that have default settings are: - Padding: Top and Bottom Medium - Container: Standard
Accordion/Accordion Item
The accordion component allows you to place text in expandable sections that are collapsed by default.
- To add an accordion paragraph type, create a new Page content.
- From the Components dropdown, choose an accordion.
- Add a Header and a description if you would like.
- Add individual Accordion Items.
- Styles that are set on the Accordion will affect the entire accordion section.
Block
The Block component allows you to place a Drupal block inline with other content.
- To add a Block paragraph type, create a new Page content.
- From the Components dropdown, choose a Block.
- Add a Header and a description if you would like.
- Choose the block that you would like to display.
- Styles that are set on the Block will affect the entire Block section.
Card
Use the card component to create flexible and extensible content containers that can link to local or external pages.
- To add a Card paragraph type, when editing Page content, from the Components dropdown, choose a Card.
- Add a Header for the Card Title and a description for the card body
- Add media for the card image
- Add a link to display a link in the card footer.
For Developers:
To alter the display of your card to Horizontal, go to the Manage Display Tab, Click on Pattern Settings, and for the Variant dropdown, choose Horizontal.
To alter the display of the link for your card, in the Manage display tab, Edit the pattern variant for the link. The Variant determines which bootstrap button style variable will be printed.
In addition, there is a setting that allows you to link the entire card, or to turn that off.
Carousel/Carousel Item
A Carousel component allows for multiple media items to be displayed in a carousel
The carousel settings are defined by the Carousel Pattern being used on the Manage Display page of the paragraph. /admin/structure/paragraphs_type/sa_carousel/display
The Carousel Item field is using the pattern of Carousel.
Available options are: * With Controls * With Indicators * With touch Swiping * Token for Interval * ID
The referenced Carousel Item Paragraph type is using the pattern of Carousel Item which has the following slots:
- Image
- Caption
To manage the display, visit this URL admin/structure/paragraphs_type/sa_carousel_item/display
On the display page you can also alter the image style that is loaded.
Columns
A columns component allows for a text, card, block, media, carousel and block component to be added as columns.
Existing Content card
Use this component to select existing site content and the result will be turned into a card.
Filtered List
A filtered list component allows you to display preselected Drupal views.
Frequently Asked Questions (FAQ)/FAQ Item
Uses Google approved Schema.org markup to display FAQs on your page.
Hero
The hero components allows for either a background video or image and a text overlay.
Media
A media component allows for either an image or video media entity to be added.
Media Collection
Used to display groups of image and video media entities.
Side By Side
The side by side component offers a header, text field and a media field for displaying the content. The default display of content is the Media on the left and the Header and Description on the right. The columns will display as equal columns. If the Boolean for Reverse Order is turned on, The Media will display on the right side instead.
Statistic
The Stat component can be used in columns to display important statistics about your site or organization.
Tabs
A tabs component allows for multiple tabs to be added to display content in a tabbed display that will show and hide tabbed content on click.
Text
A text component allows for text to be added to a page with a wysiwyg editor.