Borders, Rounded Corners, and Shadows for WordPress Galleries

At a glance: Plan: Core plugin · Shadows since 1.1.8 · Last checked: Galleryberg 1.2.1 (November 2026)

Galleryberg lets you add a border, rounded corners, and a drop shadow to the whole gallery and to the images inside it. Select the gallery, open the Styles tab, and use the Border section: Border and Border Radius style the gallery box, while Images Border Radius and Images Shadow style every image.

Image gallery is created

Gallery settings vs image settings #

SettingApplies toShown by default
BorderThe outer edge of the whole gallery (color, width, style, per side)Yes
Border RadiusThe corners of the whole galleryYes
Images Border RadiusThe corners of every image in the galleryYes
ShadowA shadow around the whole galleryNo, add it from the options menu
Images ShadowA shadow under every imageNo, add it from the options menu

Add a border to the gallery #

  1. Select the gallery by clicking the Galleryberg icon in the block toolbar.
  2. Open the Styles tab and scroll to Border.
  3. Under Border, click the color circle to choose a color and type a width, such as 2px. Click the link icon to set each side separately.
Add border the gallery

Round the corners #

  • Border Radius rounds the corners of the gallery box. It is most visible when the gallery has a border, background, or padding.
  • Images Border Radius rounds the corners of every image. Try 8px to 16px for a soft, modern look.
Add radius to the gallery border
Add image border radius of the gallery

Add a drop shadow #

  1. In the Border section, click the options menu (the three dots).
  2. Choose Shadow (whole gallery) or Images Shadow (every image).
  3. Click the new control and pick a preset. Click Clear to remove it.

The presets come from your theme, so names can differ between themes. With the Ollie theme used on this site they are Natural, Deep, Sharp, Outlined and Crisp.

Shadow presetLook
NaturalA soft, light shadow. Good default for most sites
DeepA large, blurred shadow that makes images float
SharpA light shadow with a hard edge
OutlinedAn offset outline behind the image
CrispA solid black offset shadow for a bold, flat style

Style one image differently #

Click one image instead of the gallery. In its Styles tab you can set its own Border, Border Radius, and Shadow. These override the gallery settings for that image only.

Frequently asked questions #

How do I make all images rounded? #

Use Images Border Radius on the gallery, not Border Radius. Border Radius only rounds the outer gallery box.

Why can I not find the Shadow setting? #

Do borders and shadows carry over when I convert a core Gallery block? #

Updated on November 14, 2026

What are your feelings

  • Happy
  • Normal
  • Sad