Block | 19 MINUTE READ

Block: Gallery

Written by mnhart

@twitterhandle

Download something really nice

Sunburst Over River

Gallery blocks have two settings: the number of columns, and whether or not images should be cropped. The default number of columns is three, and the maximum number of columns is eight.

Below is a three column gallery at full width, with cropped images.

Some more text for taking up space.

A two column gallery, aligned to the left.

In the editor, the image captions can be edited directly by clicking on the text.

If the number of images cannot be divided into the number of columns you have selected, the default is to have the last image(s) automatically stretch to the width of your gallery.

A four column gallery with a wide width:

A five column gallery with normal images:

This is the same gallery, but with cropped images.

Six columns: does it work at all window sizes?

Seven columns: how does this look on a narrow window?

Eight columns:

Don't forget to share this!


Related Articles

Hello world!

Lorem Ipsum is simply dummy text of the printing and typesetting industry.

Block: Image

Welcome to image alignment! If you recognize this post, it is because

Block: Button

Button blocks are not semantically buttons, but links inside a styled div. 

Block: Cover

This is a left aligned cover block with a background image. The

Block: Columns

This page tests how the theme displays the columns block. The first