Astra_Elementor::elementor_overlay_zindex()
Add z-index CSS for elementor’s drag drop
Description
Return
(void)
Source
File: inc/compatibility/class-astra-elementor.php
public function elementor_overlay_zindex() {
// return if we are not on Elementor's edit page.
if ( ! $this->is_elementor_editor() ) {
return;
}
?>
<style type="text/css" id="ast-elementor-overlay-css">
.elementor-editor-active .elementor-element > .elementor-element-overlay {
z-index: 9999;
}
</style>
<?php
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 1.4.0 | Introduced. |