| @@ -753,8 +753,9 @@ | ||
| 753 | 753 | 'label' => esc_html__( 'UI Color', 'elementor' ), |
| 754 | 754 | 'type' => Controls_Manager::COLOR, |
| 755 | 755 | 'selectors' => [ |
| 756 | 756 | '#elementor-lightbox-{{ID}} .dialog-lightbox-close-button' => 'color: {{VALUE}}', |
| 757 | + '#elementor-lightbox-{{ID}} .dialog-lightbox-close-button svg' => 'fill: {{VALUE}}', | |
| 757 | 758 | ], |
| 758 | 759 | ] |
| 759 | 760 | ); |
| 760 | 761 | |
| @@ -764,8 +765,9 @@ | ||
| 764 | 765 | 'label' => esc_html__( 'UI Hover Color', 'elementor' ), |
| 765 | 766 | 'type' => Controls_Manager::COLOR, |
| 766 | 767 | 'selectors' => [ |
| 767 | 768 | '#elementor-lightbox-{{ID}} .dialog-lightbox-close-button:hover' => 'color: {{VALUE}}', |
| 769 | + '#elementor-lightbox-{{ID}} .dialog-lightbox-close-button:hover svg' => 'fill: {{VALUE}}', | |
| 768 | 770 | ], |
| 769 | 771 | 'separator' => 'after', |
| 770 | 772 | ] |
| 771 | 773 | ); |
| @@ -917,8 +919,9 @@ | ||
| 917 | 919 | |
| 918 | 920 | $this->add_render_attribute( 'image-overlay', [ |
| 919 | 921 | 'data-elementor-open-lightbox' => 'yes', |
| 920 | 922 | 'data-elementor-lightbox' => wp_json_encode( $lightbox_options ), |
| 923 | + 'e-action-hash' => Plugin::instance()->frontend->create_action_hash( 'lightbox', $lightbox_options ), | |
| 921 | 924 | ] ); |
| 922 | 925 | |
| 923 | 926 | if ( Plugin::$instance->editor->is_edit_mode() ) { |
| 924 | 927 | $this->add_render_attribute( 'image-overlay', [ |