gillish

Make logos or words glide across the page

The Moving Strip block A piece of a page, such as a paragraph, a picture or a button. In WordPress you build a page by putting blocks one after another. puts logos, short lines of text or any other blocks in a row that glides sideways without end, such as a strip of customer logos or a line of offers. See it working on the Moving Strip page.

Add a moving strip

  1. Add the Moving Strip block where you want it.

  2. It starts with three empty lines. Type a word or a short line in each, or press + to add any other block, such as an Image for a logo.

  3. In the Settings tab, under Moving Strip, set the direction and the speed.

  4. Preview the page or open it to see it move. In the editor the strip stands still, so you can edit it.

What goes in the strip

Any block can be an item: an image for a logo, a paragraph for a word or a line, an icon, a badge or a button. Each block you add is one item in the row, and an image keeps the width you give it. To change the order, select an item and use Move left or Move right in its toolbar.

The settings

  • Direction: Towards the left (the default) or Towards the right.
  • Speed (pixels per second): 10 to 300, 40 to start. The strip moves at the same pace however many items it holds. 40 is calm; above 100 is hard to read.
  • Space between items (px): 0 to 200, 48 to start.
  • Fade at the edges (px): 0 to 240, 48 to start. How far in from each side the items fade out while the strip moves. Set 0 for a hard edge.
  • Pause while a pointer is over it: on to start, so the strip holds still under the mouse. Switch it off, and the strip keeps moving under the mouse. Keyboard focus and a tap on a touch screen still stop it either way.
  • Pause button: a button that stops the strip and starts it again. Choose Hidden (the default), Shown when reached with the keyboard (out of sight until a visitor reaches it with the Tab key) or Always shown (beside the strip for every visitor).
  • Logo colors: for the pictures and icons in the strip. Choose Their own colors (the default), Grey, All dark or All white, for a dark background. Grey, dark and white are slightly faded, and the editor shows the choice too. Text and buttons keep their own colours. A logo shows its own colours again while a pointer is over it or it has keyboard focus. Use All white only on a dark background: on a light one, the logos almost disappear.

Each slider has a Reset button that puts its first value back.

Colours and shape

Where you set the look depends on where you edit the block. In a normal post or page, the Styles tab has WordPress’s own controls: colour, typography, padding and margin, and border. In a saved Cairnstone block, under Cairnstone → Blocks, the Styles tab has Cairnstone’s full set: colour (a ready-made set or your own), typography, border, shadow, filters, and size and spacing. The strip can be wide or full width, like other wide blocks.

What visitors get

  • A pause button beside the strip, if you chose one. The Tab key reaches it right after the strip’s items. Press it to stop the strip, and press it again to start it. A screen reader A program that reads the screen aloud, for people who cannot see it well. They move around the page with the keyboard and hear what is there. calls it a toggle button and says whether it is pressed.
  • On a touch screen, a tap on the strip stops it, and another tap starts it again, with or without a pause button. A tap on a link or a button inside the strip does what that link or button does.
  • The strip stops while a pointer is over it (when that setting is on), and while keyboard focus is inside it, and moves again when focus leaves. It stays in its row, and the item in focus slides into view.
  • For visitors who ask their device for less motion, and on a page whose script has not loaded, it stands still as an ordinary row.
  • To make the loop seamless, the strip repeats its items. The repeats are hidden from screen readers and the keyboard, so each item is read and reached once.

Next, read Show the logos of your partners, for a row of logos that stands still.

Trails

Cairnstone