Image Comparison

Image Settings

This section will help you set up the block. Let’s check out the available options.

  1. Default Offset: Sets the initial position of the draggable comparison slider, by default it is in the middle of the image.
  2. Source Image Size: Set the size of the source image among the available image sizes of your WordPress Installation.

Block Appearance

Under the block appearance tab you can control how the block looks. Let’s take a look a the options.

  1. Background Color: Controls the color of the block’s background.
  2. Border: This option allows you to select the border style via the drop down and then select the border color and width.
  3. Border Radius: This option allows you to round the image’s corners.
  4. Box Shadow: This option allows you to apply an inset/outset box shadow, its color, spread, blur radius and offset.
  5. Padding: With this option you can control the padding on each side of the block individually or all at once.
  6. Margin: With this option you can control the margin on each side of the block individually or all at once.

Notice that the Padding and Margin options have three icons next to their label. These are the Desktop, Tablet and Mobile icons. By clicking each icon you can separately modify the values of padding/margin for each device.


Visibility Settings

Via the Visibility Settings you can hide the block for certain type of device or user.

The Viewport visibility toggles allow you to hide the block on desktops, tablets and mobiles. You can choose to hide it on more than one device type.

The Authentication visibility toggles allow you to display the block only to logged in or logged out users.