Skip to content

Accessibility preferences

Text size:



Line spacing:




Change font:



Change contrast:

Enhance inputs areas:
Need help? Kaya theme set up guide

Some content in the top header

Some content in the top right header.

Kaya Theme Demo home.
  • a Blog page
  • Accessibility
  • Front Page
  • Sample Page
  • Ελληνικά-Greek
    • Επίπεδο 2 -Second Greek level
      • Επίπεδο 3
  • About The Tests
    • Page Image Alignment
    • Page Markup And Formatting
    • Clearing Floats
    • Page with comments
    • Page with comments disabled
  • Level 1
    • Level 2
      • Level 3
      • Level 3a
      • Level 3b
    • Level 2a
    • Level 2b
  • Lorem Ipsum
  • Page A
  • Page B
Boat Barco Texture

Block: Gallery

Posted on November 3, 2018 by Gen Herres.

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.

  • canola
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna.
  • Sunburst Over River
    Sunburst over the Clinch River, Southwest Virginia.
  • Orange Iris
    Orange Iris
  • Boardwalk
    Boardwalk at Westport, WA
  • Bell on Wharf
    Bell on wharf in San Francisco
  • Huatulco Coastline
    Coastline in Huatulco, Oaxaca, Mexico
(gallery caption) 3 column, full width, cropped, linked to attachment pages
  • Unicorn Wallpaper
  • Boat Barco Texture
    Boat BW PB Barco Texture Beautiful Fishing

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:

  • Huatulco Coastline
    Sunrise over the coast in Huatulco, Oaxaca, Mexico
  • canola
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna.
  • dsc20050813_115856_52
  • dsc20050727_091048_222

A five column gallery with normal images:

  • Horizontal Featured Image
  • Image Alignment 300x200
  • Image Alignment 150x150
  • Image Alignment 580x300
  • Horizontal Featured Image
  • Image Alignment 1200x4002
  • Unicorn Wallpaper

This is the same gallery, but with cropped images.

  • Horizontal Featured Image
  • Image Alignment 300x200
  • Image Alignment 150x150
  • Image Alignment 580x300
  • Horizontal Featured Image
  • Image Alignment 1200x4002
  • Unicorn Wallpaper

Six columns: does it work at all window sizes?

  • Boardwalk
    Boardwalk at Westport, WA
  • Golden Gate Bridge
    Golden Gate Bridge
  • Sydney Harbor Bridge
    Sydney Harbor Bridge
  • Bell on Wharf
    Bell on wharf in San Francisco
  • Rusty Rail
    Rusty rails with fishplate, Kojonup
  • Yachtsody in Blue
    Boats and reflections, Royal Perth Yacht Club
  • Antique Farm Machinery
    Antique farm machinery, Mount Barker Museum, Western Australia
  • Rain Ripples
    Raindrop ripples on a pond
  • Wind Farm
    Albany wind-farm against the sunset, Western Australia
  • canola
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna.
  • Windmill
    Windmill shrouded in fog at a farm outside of Walker, Iowa
  • Brazil Beach
    Jericoacoara Ceara Brasil
  • Huatulco Coastline
    Sunrise over the coast in Huatulco, Oaxaca, Mexico

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

  • It’s dangerous to go alone! Take this.
  • Unicorn Wallpaper
  • Boat Barco Texture
    Boat BW PB Barco Texture Beautiful Fishing
  • Huatulco Coastline
    Coastline in Huatulco, Oaxaca, Mexico
  • Brazil Beach
    Jericoacoara Ceara Brasil
  • Huatulco Coastline
    Sunrise over the coast in Huatulco, Oaxaca, Mexico
  • Big Sur
    Beach at Big Sur, CA
  • Windmill
    Windmill shrouded in fog at a farm outside of Walker, Iowa
  • Sea and Rocks
    Sea and rocks, Plimmerton, New Zealand
  • Rusty Rail
    Rusty rails with fishplate, Kojonup
images linked to media file – do captions obscure links?

Eight columns:

  • canola
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna.
  • Boardwalk
    Boardwalk at Westport, WA
  • Golden Gate Bridge
    Golden Gate Bridge
  • Antique Farm Machinery
    Antique farm machinery, Mount Barker Museum, Western Australia
  • Orange Iris
    Orange Iris
  • Wind Farm
    Albany wind-farm against the sunset, Western Australia
  • Bell on Wharf
    Bell on wharf in San Francisco
  • Sydney Harbor Bridge
    Sydney Harbor Bridge
  • dsc20050813_115856_52
  • Rain Ripples
    Raindrop ripples on a pond
  • Unicorn Wallpaper
  • Boat Barco Texture
    Boat BW PB Barco Texture Beautiful Fishing
  • Yachtsody in Blue
    Boats and reflections, Royal Perth Yacht Club
  • Rusty Rail
    Rusty rails with fishplate, Kojonup
  • Sea and Rocks
    Sea and rocks, Plimmerton, New Zealand
  • Huatulco Coastline
    Coastline in Huatulco, Oaxaca, Mexico
images are linked, do the links work?
Posted in BlockTagged Columns, content περιεχόμενο, gallery, image

Post navigation

Block: Columns
Block: Cover

Sidebar

Recent Posts

  • Hello world!
  • Block: Image
  • Block: Button
  • Block: Cover
  • Block: Gallery

Recent Comments

  1. A WordPress Commenter on Hello world!
  2. John Doe on Edge Case: No Content
  3. Jane Doe on Protected: Template: Password Protected (the password is “enter”)
  4. Jane Doe on Template: Comments
  5. John Doe on Template: Comments

Footer

Footer is Flexbox

The footer uses flexbox for spacing.

You can use CSS to fix widths of columns, or let them flex.

Horizontal Featured Image.

Short nav menu

  • a Blog page
  • About The Tests
    • Clearing Floats
    • Page with comments
    • Page with comments disabled
  • Lorem Ipsum

Everything should be made as simple as possible, but not simpler.

Albert Einstein
Visit us on Facebook

Copyright © 2025. All rights reserved. Kaya Theme Demo.

Additional footer content here from Customizer.