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
		}

Changelog

Changelog
Version Description
1.4.0 Introduced.


User Contributed Notes

You must log in before being able to contribute a note or feedback.