CMS
Objects
Background Image

Background Image

An image element, that is exclusively used as background element.

Code

BackgroundImageElemDto
{
   "url":"www.shophub.com",
   "position":"center center",
   "size":"cover",
   "repeat":"no-repeat",
   "order":0
}

Arguments

url
string
required

The url of the background image.

position
string|
null

The CSS value for the position of the background image.

size
string|
null

The CSS value for the size of the background image.

repeat
string|
null

The CSS value if the background image should be repeated or not.

order
number
required

An order number that determines the position of the given image in the layer of background images. A higher number means that the image is further back in the canvas of images.