| @@ -468,9 +468,9 @@ | ||
| 468 | 468 | 'label' => __( 'Color', 'elementor' ), |
| 469 | 469 | 'type' => Controls_Manager::COLOR, |
| 470 | 470 | 'default' => '', |
| 471 | 471 | 'selectors' => [ |
| 472 | - '{{WRAPPER}} .elementor-image-box-content .elementor-image-box-title' => 'color: {{VALUE}};', | |
| 472 | + '{{WRAPPER}} .elementor-image-box-title' => 'color: {{VALUE}};', | |
| 473 | 473 | ], |
| 474 | 474 | 'global' => [ |
| 475 | 475 | 'default' => Global_Colors::COLOR_PRIMARY, |
| 476 | 476 | ], |
| @@ -480,9 +480,9 @@ | ||
| 480 | 480 | $this->add_group_control( |
| 481 | 481 | Group_Control_Typography::get_type(), |
| 482 | 482 | [ |
| 483 | 483 | 'name' => 'title_typography', |
| 484 | - 'selector' => '{{WRAPPER}} .elementor-image-box-content .elementor-image-box-title', | |
| 484 | + 'selector' => '{{WRAPPER}} .elementor-image-box-title', | |
| 485 | 485 | 'global' => [ |
| 486 | 486 | 'default' => Global_Typography::TYPOGRAPHY_PRIMARY, |
| 487 | 487 | ], |
| 488 | 488 | ] |
| @@ -487,8 +487,16 @@ | ||
| 487 | 487 | ], |
| 488 | 488 | ] |
| 489 | 489 | ); |
| 490 | 490 | |
| 491 | + $this->add_group_control( | |
| 492 | + Group_Control_Text_Shadow::get_type(), | |
| 493 | + [ | |
| 494 | + 'name' => 'title_shadow', | |
| 495 | + 'selector' => '{{WRAPPER}} .elementor-image-box-title', | |
| 496 | + ] | |
| 497 | + ); | |
| 498 | + | |
| 491 | 499 | $this->add_control( |
| 492 | 500 | 'heading_description', |
| 493 | 501 | [ |
| 494 | 502 | 'label' => __( 'Description', 'elementor' ), |
| @@ -503,9 +511,9 @@ | ||
| 503 | 511 | 'label' => __( 'Color', 'elementor' ), |
| 504 | 512 | 'type' => Controls_Manager::COLOR, |
| 505 | 513 | 'default' => '', |
| 506 | 514 | 'selectors' => [ |
| 507 | - '{{WRAPPER}} .elementor-image-box-content .elementor-image-box-description' => 'color: {{VALUE}};', | |
| 515 | + '{{WRAPPER}} .elementor-image-box-description' => 'color: {{VALUE}};', | |
| 508 | 516 | ], |
| 509 | 517 | 'global' => [ |
| 510 | 518 | 'default' => Global_Colors::COLOR_TEXT, |
| 511 | 519 | ], |
| @@ -515,12 +523,20 @@ | ||
| 515 | 523 | $this->add_group_control( |
| 516 | 524 | Group_Control_Typography::get_type(), |
| 517 | 525 | [ |
| 518 | 526 | 'name' => 'description_typography', |
| 519 | - 'selector' => '{{WRAPPER}} .elementor-image-box-content .elementor-image-box-description', | |
| 527 | + 'selector' => '{{WRAPPER}} .elementor-image-box-description', | |
| 520 | 528 | 'global' => [ |
| 521 | 529 | 'default' => Global_Typography::TYPOGRAPHY_TEXT, |
| 522 | 530 | ], |
| 531 | + ] | |
| 532 | + ); | |
| 533 | + | |
| 534 | + $this->add_group_control( | |
| 535 | + Group_Control_Text_Shadow::get_type(), | |
| 536 | + [ | |
| 537 | + 'name' => 'description_shadow', | |
| 538 | + 'selector' => '{{WRAPPER}} .elementor-image-box-description', | |
| 523 | 539 | ] |
| 524 | 540 | ); |
| 525 | 541 | |
| 526 | 542 | $this->end_controls_section(); |