PluginProbe
Elementor Website Builder – more than just a page builder / 3.2.0
Elementor Website Builder – more than just a page builder v3.2.0
4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 All 457 releases
← All changes | includes/widgets/icon-box.php +22 -5 3.1.4 → 3.2.0 View file →
@@ -534,9 +534,9 @@
534 534 'label' => __( 'Color', 'elementor' ),
535 535 'type' => Controls_Manager::COLOR,
536 536 'default' => '',
537 537 'selectors' => [
538 - '{{WRAPPER}} .elementor-icon-box-content .elementor-icon-box-title' => 'color: {{VALUE}};',
538 + '{{WRAPPER}} .elementor-icon-box-title' => 'color: {{VALUE}};',
539 539 ],
540 540 'global' => [
541 541 'default' => Global_Colors::COLOR_PRIMARY,
542 542 ],
@@ -546,9 +546,9 @@
546 546 $this->add_group_control(
547 547 Group_Control_Typography::get_type(),
548 548 [
549 549 'name' => 'title_typography',
550 - 'selector' => '{{WRAPPER}} .elementor-icon-box-content .elementor-icon-box-title, {{WRAPPER}} .elementor-icon-box-content .elementor-icon-box-title a',
550 + 'selector' => '{{WRAPPER}} .elementor-icon-box-title, {{WRAPPER}} .elementor-icon-box-title a',
551 551 'global' => [
552 552 'default' => Global_Typography::TYPOGRAPHY_PRIMARY,
553 553 ],
554 554 ]
@@ -553,8 +553,16 @@
553 553 ],
554 554 ]
555 555 );
556 556
557 + $this->add_group_control(
558 + Group_Control_Text_Shadow::get_type(),
559 + [
560 + 'name' => 'title_shadow',
561 + 'selector' => '{{WRAPPER}} .elementor-icon-box-title',
562 + ]
563 + );
564 +
557 565 $this->add_control(
558 566 'heading_description',
559 567 [
560 568 'label' => __( 'Description', 'elementor' ),
@@ -569,9 +577,9 @@
569 577 'label' => __( 'Color', 'elementor' ),
570 578 'type' => Controls_Manager::COLOR,
571 579 'default' => '',
572 580 'selectors' => [
573 - '{{WRAPPER}} .elementor-icon-box-content .elementor-icon-box-description' => 'color: {{VALUE}};',
581 + '{{WRAPPER}} .elementor-icon-box-description' => 'color: {{VALUE}};',
574 582 ],
575 583 'global' => [
576 584 'default' => Global_Colors::COLOR_TEXT,
577 585 ],
@@ -581,9 +589,9 @@
581 589 $this->add_group_control(
582 590 Group_Control_Typography::get_type(),
583 591 [
584 592 'name' => 'description_typography',
585 - 'selector' => '{{WRAPPER}} .elementor-icon-box-content .elementor-icon-box-description',
593 + 'selector' => '{{WRAPPER}} .elementor-icon-box-description',
586 594 'global' => [
587 595 'default' => Global_Typography::TYPOGRAPHY_TEXT,
588 596 ],
589 597 ]
@@ -588,8 +596,16 @@
588 596 ],
589 597 ]
590 598 );
591 599
600 + $this->add_group_control(
601 + Group_Control_Text_Shadow::get_type(),
602 + [
603 + 'name' => 'description_shadow',
604 + 'selector' => '{{WRAPPER}} .elementor-icon-box-description',
605 + ]
606 + );
607 +
592 608 $this->end_controls_section();
593 609 }
594 610
595 611 /**
@@ -685,9 +701,10 @@
685 701 view.addInlineEditingAttributes( 'title_text', 'none' );
686 702 view.addInlineEditingAttributes( 'description_text' );
687 703 #>
688 704 <div class="elementor-icon-box-wrapper">
689 - <# if ( settings.icon || settings.selected_icon ) { #>
705 + <?php // settings.icon is needed for older version ?>
706 + <# if ( settings.icon || settings.selected_icon.value ) { #>
690 707 <div class="elementor-icon-box-icon">
691 708 <{{{ iconTag + ' ' + link }}} class="elementor-icon elementor-animation-{{ settings.hover_animation }}">
692 709 <# if ( iconHTML && iconHTML.rendered && ( ! settings.icon || migrated ) ) { #>
693 710 {{{ iconHTML.value }}}