doAction( “position_area” )

doAction( "position_area", cssWrap, cssArea, area );
doAction( "position_area_{key}", cssWrap, cssArea, area );

Action to modify the Area position on the screen.

The dynamic part of the filter name is the sanitized Area key. See DiviAreaItem.theKey() for details.

The params cssWrap and cssArea contain a list of attributes that are directly translated to inline CSS styles. Both objects can be modified by the action handler.


cssWrap object, required
Position details of the Area wrapper.
cssArea object, required
Position details of the inner Area container.
area DiviAreaItem, required
The Divi Area instance.


No notes

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Get in touch with us