All components, as well as any stage, have a background
A background can be a color, a gradient, an image or a video. Here’s how.
Solid Color Background
- Select the Solid option from the background type dropdown
- To edit the color just click the color circle to open the color selector and select the color to use
Tip: it’s often handy to have for example the hexadecimal codes of your brand colors at hand, so it’s as simple as copy paste onto the color picker interface.
Gradient Color Background
- Select the Gradient option from the background type dropdown
- To edit a color point, click to select it, and then click on the larger color circle to open the color selector
- To reposition a color point simply drag it horizontally
- To delete a color point, click to select it, and then click the small cross icon
Image Background – Full
- Select the Image option from the background type dropdown
- Click Add or change image to set an image
- Set the size value to Cover
- Set the repeat value to No Repeat
- Optionally change the position value to adjust image placement
- Optionally change the Attachment value to fixed if you want the image to stay fixed while the user scrolls down.
Important: since the background will be covering the space the content occupies, it is particularly important to check how it looks on mobile. If the component with the background gets too wide or too tall, the image may become blurred if its resolution is not high enough.
Image Background – Pattern
- Select the Image option from the background type dropdown
- Click Add or change image to set an image
- Set the size value to Auto, or optionally to Custom. If you chose Custom, then configure the Width (W) and Height (H) attributes in pixels. It is recommended that you set values that maintain image ratio or you may get a blurred result.
- Set the repeat value to In both directions
- Optionally change the position value to adjust image placement
- Optionally change the Attachment value to fixed if you want the image to stay fixed while the user scrolls down
Video Background
- Select the Video option from the background type dropdown
- Select which video source you wish to use
- Set the Containment value to Cover
- Set the Video Url to a URL from the video source you have selected