Image Styling

The Image is a simple visual element used for attracting attention, conveying messages, and supporting the overall look and feel of the web page.

It can be added in a few ways:

  • by choosing from your library (of previous uploads);
  • by pulling it from Salesforce;
  • by uploading it from your device; or
  • by specifying a URL.

The Image element has an Overlay option that allows a user to add a color or image to act as a filter or effect on top of the image.

This Image element can be broken down into two parts, which can be styled individually, for example, Image Border and Shadow or Overlay Fill.

This element can be edited on both the Project Style Level and Element Style Level

Image styling options
Image styling options
#OptionFunctionAvailable in Project or Element
1ImageThis Image option enables you to set general properties that affect the image as a whole. For instance, the image size, its opacity, border, or position.
2OverlayThe Overlay option allows you to create a filter or effect above the image by setting a partially transparent color or image on top of it.

1. Image

This option enables you to set general properties that affect the image as a whole.

Image styling options
Image styling options
#OptionFunctionAvailable in Project or Element
1FillThe Fill setting allows you to set the opacity level of the image.

This setting also provides a “Fit Image” option that fills the given container dimensions while keeping the image aspect ratio intact.

If the image is larger than the container, it will be clipped to fit it.
2PositionThe Position option enables you to change the image location on the x and y-axis of the strip (left/right/top/bottom).

This option also allows you to make an Image element float over its parent container or over the entire page.

Float over Parent allows you to set the location of an image within the box containing it, for instance, the container or strip. Float over Page allows you to set the location of an image inside the entire page and have it stay in the same location even when the user scrolls over it.
3SizeThis option allows you to change the width and height of the Image element.
4MarginThis option allows you to set the outer space between the label and adjacent element parts.
5AlignmentUse Alignment to set the Image element to a vertical or horizontal position in relation to its container (left/center/right/top/middle/bottom).

It also allows you to set the position of a few elements in relation to each other.
6BorderThis setting refers to the outer contour of the image’s container. It allows you to make the border visible or invisible, and change the width, color, corner radius, and more.

You can also change the style of the border to lines, dashes, or dots.

Use the Border option to create separate border styles per container side (left/right/top/bottom).
7ShadowShadow gives you the ability to add an Inner or Outer shadow effect to the Image container.

You can set the X and Y offsets of the shadow as well as its blur and spread radius.
8User CSSCascading Style Sheets (CSS) allows you to apply styles to an Image via CSS code.

Note: For Project styling, CSS is accessed via the Tools menu, which you can read about in our Style Elements Using User CSS article.

2. Overlay

The Overlay option allows you to create a filter or effect above the image by setting a partially transparent color or image on top of it. 

It also allows you to make the image look interactive by using three overlay states: Default, Hover and Clicked, enabling you to give end users an indication of when they are hovering or clicking on the image.

Default refers to the basic state of an image when it is not hovered upon or clicked but simply visible, while Hover is the state of the image once the user hovers over it with the mouse. Clicked refers to the state of the image when the user clicks on it. You can create an effect for the image by setting different values in these three states.

Overlay styling options
Overlay styling options
#OptionFunctionAvailable in Project or Element
1FillThis allows you to select a color or image and set its opacity level.
2BorderThis setting refers to the contour of the overlay layer.

It allows you to make the border visible or invisible, and change the width, color, corner radius, and more.

The border can be styled as a whole or separated into the top, bottom, left, and right border lines with this option.

Hidden Title

Need more help?