Blog

Block: Gallery

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, linked to media file.

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:

Items in the block category have been created with the block editor.
Items in the classic category have been created with the classic editor.
Posts that have edge-case related tests
Posts in this category test markup tags and styles.
Posts that have media-related tests
►
This is a parent category. It will contain child categories
This is a description for the Child Category 01.
This is a description for the Child Category 02.
This is a description for the Child Category 03.
This is a description for the Child Category 04.
This is a description for the Child Category 05.
Posts in this category test post formats.
Posts with template-related tests
Posts in this category test unpublished posts.
Privacy Overview

Este site usa cookies para que possamos oferecer a você a melhor experiência de usuário possível. As informações de cookies são armazenadas em seu navegador e desempenham funções como reconhecê-lo quando você retorna ao nosso site e ajudar nossa equipe a entender quais seções do site você considera mais interessantes e úteis.