Editing Existing Content

Articles

Edit HTML Action
The Edit HTML action copies the HTML content of an existing element, including any child elements, on the page and inserts it after the original selector. Then, the action hides the original element. This type of action allows you to make quick ed...
Hide Element Action
The Hide Element action hides the selected element(s) on the page by inserting an inline style and setting the display property to display: none !important; on the selected element(s). The action also appends included CSS styles in the <head...
Modify Attribute Action
The Modify Attribute action adds, removes, or changes the value of an attribute on one or more specific elements. Monetate uses an attribute to define the characteristics of an element and places them inside the element's opening tag. Some ...
Move Element Action
The Move Element action alters the position of any element on a page relative to any other element. Some common use cases for Move Element actions are as follows: Changing the order of items in a navigation bar Moving a search box to a differe...
Set Background Image Action
The Set Background Image action applies a background-image property with the uploaded creative as its image URL to the selected element(s). It also appends included CSS styles in the <head> of the page. Required Components Image Creati...
Show Element Action
The Show Element action displays the selected element(s) on the page and removes any inline styling that would otherwise hide the element (for example, display: none; or visibility: hidden; ). It also appends included CSS styles in the <hea...
Swap Elements Action
The Swap Elements action switches the position of two elements on a page. Some common use cases for swap actions include the following: Swapping the order of two products Reordering navigation bar links Switching the positions of two banners ...