Skip to content

Commit

Permalink
z-index control
Browse files Browse the repository at this point in the history
  • Loading branch information
kobizz committed Jun 11, 2017
1 parent 01d5380 commit cce3493
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
11 changes: 11 additions & 0 deletions includes/elements/column.php
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,17 @@ protected function _register_controls() {
]
);

$this->add_control(
'z-index',
[
'label' => __( 'z-index', 'elementor' ),
'type' => Controls_Manager::NUMBER,
'selectors' => [
'{{WRAPPER}}' => 'z-index: {{VALUE}};',
],
]
);

$this->add_control(
'animation',
[
Expand Down
11 changes: 11 additions & 0 deletions includes/elements/section.php
Original file line number Diff line number Diff line change
Expand Up @@ -936,6 +936,17 @@ protected function _register_controls() {
]
);

$this->add_control(
'z-index',
[
'label' => __( 'z-index', 'elementor' ),
'type' => Controls_Manager::NUMBER,
'selectors' => [
'{{WRAPPER}}' => 'z-index: {{VALUE}};',
],
]
);

$this->add_control(
'animation',
[
Expand Down
11 changes: 11 additions & 0 deletions includes/widgets/common.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,17 @@ protected function _register_controls() {
]
);

$this->add_control(
'_z-index',
[
'label' => __( 'z-index', 'elementor' ),
'type' => Controls_Manager::NUMBER,
'selectors' => [
'{{WRAPPER}}' => 'z-index: {{VALUE}};',
],
]
);

$this->add_control(
'_animation',
[
Expand Down

0 comments on commit cce3493

Please sign in to comment.