Premium Addons for Elementor - Version 2.1.2

Version Description

  • Fix: Premium Fancy Text Slide up effect bug on Chrome and Opera.
Download this release

Release Info

Developer leap13
Plugin Icon 128x128 Premium Addons for Elementor
Version 2.1.2
Comparing to
See all releases

Code changes from version 2.1.1 to 2.1.2

assets/css/premium-addons.css CHANGED
@@ -1841,6 +1841,9 @@ button.close {
1841
  .premium-prefix-text {
1842
  font-size: 40px;
1843
  }
 
 
 
1844
  /**************** Premium Pricing Table ****************/
1845
  /*******************************************************/
1846
  /*Pricing Table Container Div Style*/
1841
  .premium-prefix-text {
1842
  font-size: 40px;
1843
  }
1844
+ .premium-fancy-text-wrapper .premium-fancy-text-span-align {
1845
+ vertical-align: top;
1846
+ }
1847
  /**************** Premium Pricing Table ****************/
1848
  /*******************************************************/
1849
  /*Pricing Table Container Div Style*/
premium-addons-for-elementor.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Premium Addons for Elementor
4
  Description: This Plugin Includes Elementor Page Builder’s Premium Addon Elements.
5
  Plugin URI: https://premiumaddons.com
6
- Version: 2.1.1
7
  Author: Leap13
8
  Author URI: http://leap13.com/
9
  Text Domain: premium-addons-for-elementor
3
  Plugin Name: Premium Addons for Elementor
4
  Description: This Plugin Includes Elementor Page Builder’s Premium Addon Elements.
5
  Plugin URI: https://premiumaddons.com
6
+ Version: 2.1.2
7
  Author: Leap13
8
  Author URI: http://leap13.com/
9
  Text Domain: premium-addons-for-elementor
readme.txt CHANGED
@@ -98,6 +98,10 @@ Premium Addons for Elementor is light weight and we also gave you the control to
98
 
99
  == Changelog ==
100
 
 
 
 
 
101
  = 2.1.1 =
102
 
103
  - Tweak: Premium Grid link icon appears only if link added.
98
 
99
  == Changelog ==
100
 
101
+ = 2.1.2 =
102
+
103
+ - Fix: Premium Fancy Text Slide up effect bug on Chrome and Opera.
104
+
105
  = 2.1.1 =
106
 
107
  - Tweak: Premium Grid link icon appears only if link added.
widgets/premium-fancytext.php CHANGED
@@ -387,12 +387,16 @@ class Premium_Fancy_Text_Widget extends Widget_Base
387
  $this->add_inline_editing_attributes('premium_fancy_suffix_text');
388
  $cursor_text = addslashes($settings['premium_fancy_text_cursor_text']);
389
 
 
 
 
 
390
 
391
  ?>
392
 
393
 
394
  <div class="premium-fancy-text-wrapper">
395
- <span class="premium-prefix-text" style="<?php if ( $settings['premium_fancy_text_effect'] === 'slide' ) : echo "vertical-align:top;"; endif; ?>"><span <?php echo $this->get_render_attribute_string('premium_fancy_prefix_text'); ?>><?php echo wp_kses( ( $settings['premium_fancy_prefix_text'] ), true ); ?></span></span>
396
 
397
  <?php if ( $settings['premium_fancy_text_effect'] === 'typing' ) : ?><span id="premium_fancy_text_<?php echo esc_attr( $this->get_id() ); ?>" class="premium-fancy-text" ></span>
398
  <?php else : ?>
@@ -402,7 +406,7 @@ class Premium_Fancy_Text_Widget extends Widget_Base
402
  </ul>
403
  </div>
404
  <?php endif; ?>
405
- <span class="premium-suffix-text" style="<?php if ( $settings['premium_fancy_text_effect'] === 'slide' ) : echo "vertical-align: top;"; endif; ?>"><span <?php echo $this->get_render_attribute_string('premium_fancy_suffix_text'); ?>><?php echo wp_kses( ( $settings['premium_fancy_suffix_text'] ), true ); ?></span></span>
406
  </div>
407
 
408
  <!-- Typing Effect-->
@@ -440,4 +444,4 @@ class Premium_Fancy_Text_Widget extends Widget_Base
440
  <?php
441
  }
442
  }
443
- Plugin::instance()->widgets_manager->register_widget_type(new Premium_Fancy_Text_Widget());
387
  $this->add_inline_editing_attributes('premium_fancy_suffix_text');
388
  $cursor_text = addslashes($settings['premium_fancy_text_cursor_text']);
389
 
390
+ if($settings['premium_fancy_text_effect'] == 'slide'){
391
+ $this->add_render_attribute( 'premium_fancy_prefix_text', 'class', 'premium-fancy-text-span-align' );
392
+ $this->add_render_attribute( 'premium_fancy_suffix_text', 'class', 'premium-fancy-text-span-align' );
393
+ }
394
 
395
  ?>
396
 
397
 
398
  <div class="premium-fancy-text-wrapper">
399
+ <span class="premium-prefix-text"><span <?php echo $this->get_render_attribute_string('premium_fancy_prefix_text'); ?>><?php echo wp_kses( ( $settings['premium_fancy_prefix_text'] ), true ); ?></span></span>
400
 
401
  <?php if ( $settings['premium_fancy_text_effect'] === 'typing' ) : ?><span id="premium_fancy_text_<?php echo esc_attr( $this->get_id() ); ?>" class="premium-fancy-text" ></span>
402
  <?php else : ?>
406
  </ul>
407
  </div>
408
  <?php endif; ?>
409
+ <span class="premium-suffix-text"><span <?php echo $this->get_render_attribute_string('premium_fancy_suffix_text'); ?>><?php echo wp_kses( ( $settings['premium_fancy_suffix_text'] ), true ); ?></span></span>
410
  </div>
411
 
412
  <!-- Typing Effect-->
444
  <?php
445
  }
446
  }
447
+ Plugin::instance()->widgets_manager->register_widget_type(new Premium_Fancy_Text_Widget());