推荐杏吧原创

Content Block

Component overview

The Content Block component is the primary building block of our website. Content Blocks can include both images and text and can span from 3 to 12 columns, or 1/4 to full-width of your webpage. 

Example Content Block components

Standard Content Blocks

In Standard Content Blocks, images display above the headline and text. Standard Content Blocks can be any width, from 3 columns to the full 12 columns.

Aerial view of Lake Tahoe

4-column content block

This content block is four columns, or 1/3 of a row. 

Aerial view of Lake Tahoe

Left-aligned content block

Text in your content blocks can be left aligned or centered.

Aerial view of Lake Tahoe

Content block with no background

Content blocks can have blue, silver or dark grey backgrounds, or they can have no background at all. 

Aerial view of Lake Tahoe

12-column content block

A 12-column content block spans an entire row. Note that your images will scale up in size with your content  block, so make sure to preview your content and ensure your images are high-resolution. 

Content Blocks in Panel

Content Blocks are often placed in a Panel to give greater flexibility in styling.

Aerial view of Lake Tahoe

6-column content block

This Content Block doesn't have a background color applied to it. The Panel has a dark gray background that includes the content blocks. 

Aerial view of Lake Tahoe

Content Block with Background

Content Blocks in a Panel can have a background color applied that differs from the Panel background.

 

Content Blocks with no images

Content Blocks are often used for text-only content. While Content Blocks can easily be used for paragraph-based text, they can also be used to create visual interest for navigation elements or short snippets of text.

4-column content block

Here is an example of a four-column content block with no images. 

8-column content block

Here is an example of a eight-column content block with no images. 

7-column content block

Here is an example of a seven-column content block with no images. 

5-column content block

Here is an example of a five-column content block with no images. 

 

Feature-Embed Content Block

The Content Block below is a Feature-Embed Content Block, displaying two video embeds. In a Feature-Embed Content Block, your videos can display titles from the embed component, but the Content Block will not display a title or body copy. 

This video has a title