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:

Leave a Reply

Your email address will not be published. Required fields are marked *

Search

Popular Posts

  • Template: Sticky
    Template: Sticky

    This is a sticky post. There are a few things to verify: The sticky post should be distinctly recognizable in some way in comparison to normal posts. You can style the .sticky class if you are using the post_class() function to generate your post classes, which is a best practice. They should show at the…

  • The Art of Compelling Headlines: Engage Your Audience from the Start

    Your headline is the gateway to your content. It’s the first impression your audience receives, and it can make or break their decision to click through and engage with your article. Crafting compelling headlines is an art that involves creativity, clarity, and an understanding of your audience’s needs. Let’s delve into the key elements that…

  • Visual Storytelling: How Images Elevate Your Content

    In the digital realm, where attention spans are fleeting, the power of visual storytelling is unparalleled. Incorporating compelling images into your content doesn’t just enhance aesthetics; it breathes life into your narrative, capturing attention, and fostering deeper engagement with your audience. 1. Capturing Attention: Images are the first elements your audience notices. They serve as…

  • The Value of Professional WordPress Maintenance Services: Why Your Site Needs Expert Care
    The Value of Professional WordPress Maintenance Services: Why Your Site Needs Expert Care

    Managing a WordPress website involves more than just creating content and hitting publish. It’s a dynamic ecosystem that requires continuous attention, updates, and security measures to ensure optimal performance and reliability. Professional WordPress maintenance services play a pivotal role in safeguarding your site’s health and longevity. Regular Updates for Security and Functionality: WordPress regularly releases…