Close Menu
  1. Photo Block Slider

Photo Block Slider

Sick of plain-old, static backgrounds on your blocks? Bring it to life by scrolling through a gallery of photos.

Usage

Use our Photo Block Slider to display multiple images that’ll be automatically cycled through. This eye-catching block will impress your viewers and positively impact their experience on your site.

Parent Settings

The parent block (named Photo Block Slider in the editor) only has parent block settings. Meaning all your changes will have to be edited in the Block Settings, including the Headline, Subheadline, and Body text. Remember to access these settings, you must have the parent block selected, which should be easy enough just by clicking on the block as you don’t have child blocks to worry about.

Adding Images to your Gallery

First to add cards, scroll to the bottom of the block settings on the right hand side. At the bottom in the section titled Gallery, you’ll want to click the blue Add to gallery button. Select files from your Media Library or Upload Files to add to your gallery.

Text Style

The Text Style (sometimes called Headline Style) option controls the display of your text.

The Text Style (or Headline Style) will default to a different value depending on the block, but can be changed to any of the other available options. These styles are defined in your Customizer under Styles. For more information on changing your styles visit Customizing Styles.

One important thing to note is that this only changes how the headlines appear visually. The underlying html will be determined by the block that uses this features.

Block Text Alignment

Choose the text alignment of the selected block.

Choosing a Block Text Alignment

The text alignment option allows you to place your text anywhere inside of the child block. This is more useful than trying to control the alignment of each inner child block element, and is a combination of text position and text alignment. For example, setting the text to the lower right hand corner will not only position the text in the lower righthand corner, but also set right text alignment on all children.

Note: Because right text alignment is generally used compositionally on desktop, text set to be right aligned will automatically revert to left alignment on mobile to give your users the best experience.

Reverse Print

Toggling reverse print will flip the colors from your standard palette to white, which increases contrast and readability when text is placed on dark backgrounds.

You’ll find the reverse print toggle in the block sidebar. Enabling reverse print will affect the block its enabled on as well as everything inside of it. If the block contains Inner Blocks, reverse print will cascade to all descendants.

We recommend using reverse print whenever a block has a dark background and using white text would increase its contrast. While you can set text color on core blocks like Headings and Paragraphs, we strongly recommend using the block-level reverse print instead. This way, you’ll be able to quickly toggle all the content if you change the background color in the future. All Inner Blocks will respect the reverse print setting, even those without color settings themselves.

To read more about contrast requirements on the web, visit here.

Swap Blocks

Change the order of the blocks on desktop.

The Swap Blocks setting is used to change the order of the blocks on desktop and not on mobile.

This is an important distinction and can be used to control the flow of your website on mobile, giving your users the best mobile experience possible.

Even if Swap Blocks is enabled, displaying your media on the righthand side on desktop, the media block will still appear above your content on mobile.

Mobile swap blocks example.

Example mobile stacking.

The same blocks viewed on desktop. In this example, the second Blocks group has Swap Blocks enabled.

Color

The color setting allows you to select one of the colors from your site’s color palette for the block’s content.

Color can be set in the block sidebar. The color options provided will be taken from the colors defined in your palette in the customizer. You can change your pallete any time you’d like to implement site-wide color changes.

Slide Interval

Your images will auto cycle through and you can adjust the time duration in milliseconds with the Slide Interval in the block settings. We find that somewhere in the middle is the sweet spot as it doesn’t go so fast that it is disorienting to your viewers and so slow that you grow impatient for the image to change.

Block Width

Blocks can be set to one of three widths in the editor: Default, Wide, or Full. Blocks will interact with adjacent blocks differently depending on their width.

Adjusting Block Width

The block width setting is found in your block context bar, which will show up above the current block that you have selected. A block that supports the block widths will show its current width icon in the context bar, and clicking it will allow you to change the width.

If you have the Top Toolbar setting selected, the block context bar will always show at the top of your page, not at the top of your block.

Default Width

The default width of your content is determined by the value set in your Customizer. You can find this setting under Styles » Widths » Content Width. This is the default width of most text-based content and most blog pages. We recommend keeping this set so that your content retains maximum readability, which most studies agree is around 50-60 characters per line.

Wide Width

Wide width content will take up 75% of the available width on the page or the default content width set on your site—whichever is larger. In effect, this makes content take up more of the available screen real estate. When used in conjunction with other wide width blocks, you can shape your webpages in many different ways.

Full Width

Full width content will always take up 100% of the available width on the page. When placed next to default or wide width content, margin will be applied to the full width block to give it some room to breath. When two full width blocks are placed next to each other, however, they will suction together and form a cohesive unit with no margin in between them.

Photo Block Slider