myStickymenu - Version 2.3.3

Version Description

Slight CSS fixes

Download this release

Release Info

Developer galdub
Plugin Icon 128x128 myStickymenu
Version 2.3.3
Comparing to
See all releases

Code changes from version 2.3.2 to 2.3.3

css/mystickymenu-admin.css CHANGED
@@ -462,6 +462,10 @@ button.button.wp-color-result {
462
  border-radius: 50%;
463
  height: 30px !important;
464
  }
 
 
 
 
465
 
466
  .mystickymenu-content-section h3 {
467
  margin-left: 20px;
@@ -1594,18 +1598,25 @@ p.udner-title {
1594
  font-size: 14px;
1595
  font-weight: 400;
1596
  }
 
 
 
1597
  .mysticky-welcomebar-setting-content-right textarea {
1598
  height: 100px;
1599
  border-radius: 10px;
1600
  padding-top: 9px;
1601
  }
1602
- .mysticky-welcomebar-setting-wrap .wp-picker-container input[type="text"].wp-color-picker {
1603
  border-radius: 0;
1604
  height: 32px;
 
1605
  }
1606
- .mysticky-welcomebar-setting-content-right .wp-picker-input-wrap .button {
1607
  height: 32px;
1608
  }
 
 
 
1609
  .mysticky-welcomebar-setting-action {
1610
  display: inline-block;
1611
  vertical-align: top;
462
  border-radius: 50%;
463
  height: 30px !important;
464
  }
465
+ button.button.wp-color-result .color-alpha {
466
+ border-radius: 50% !important;
467
+ height: 28px !important;
468
+ }
469
 
470
  .mystickymenu-content-section h3 {
471
  margin-left: 20px;
1598
  font-size: 14px;
1599
  font-weight: 400;
1600
  }
1601
+ .mysticky-welcomebar-setting-content-right select {
1602
+ padding-right: 30px;
1603
+ }
1604
  .mysticky-welcomebar-setting-content-right textarea {
1605
  height: 100px;
1606
  border-radius: 10px;
1607
  padding-top: 9px;
1608
  }
1609
+ #mystickymenu .wp-picker-container input[type="text"].wp-color-picker {
1610
  border-radius: 0;
1611
  height: 32px;
1612
+ border: 1px solid #DCE2E2;
1613
  }
1614
+ #mystickymenu .wp-picker-input-wrap .button {
1615
  height: 32px;
1616
  }
1617
+ #mystickymenu .form-table .wp-picker-input-wrap label {
1618
+ padding-right: 10px;
1619
+ }
1620
  .mysticky-welcomebar-setting-action {
1621
  display: inline-block;
1622
  vertical-align: top;
js/mystickymenu-admin.js CHANGED
@@ -105,10 +105,13 @@
105
  /*02-08-2019 welcom bar js*/
106
  $( '.mysticky-welcomebar-action' ).on( 'change', function(){
107
  var mysticky_welcomebar_action = $( this ).val();
108
- if ( mysticky_welcomebar_action == 'close_bar' ) {
109
- $( '.mysticky-welcomebar-redirect' ).hide();
110
- } else {
111
  $( '.mysticky-welcomebar-redirect' ).show();
 
 
 
 
 
112
  }
113
  } );
114
  //$( '#mysticky_welcomebar_expirydate' ).datepicker( );
105
  /*02-08-2019 welcom bar js*/
106
  $( '.mysticky-welcomebar-action' ).on( 'change', function(){
107
  var mysticky_welcomebar_action = $( this ).val();
108
+ if ( mysticky_welcomebar_action == 'redirect_to_url' ) {
 
 
109
  $( '.mysticky-welcomebar-redirect' ).show();
110
+ } else {
111
+ $( '.mysticky-welcomebar-redirect' ).hide();
112
+ }
113
+ if ( $('.mysticky-welcomebar-action option:selected').attr('data-href') !== '' && mysticky_welcomebar_action == 'thankyou_screen' ) {
114
+ window.open( $( '.mysticky-welcomebar-action option:selected' ).attr('data-href') , '_blank');
115
  }
116
  } );
117
  //$( '#mysticky_welcomebar_expirydate' ).datepicker( );
mystickymenu.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: myStickymenu
4
  Plugin URI: https://premio.io/
5
  Description: Simple sticky (fixed on top) menu implementation for navigation menu and Welcome bar for announcements and promotion. After install go to Settings / myStickymenu and change Sticky Class to .your_navbar_class or #your_navbar_id.
6
- Version: 2.3.2
7
  Author: Premio
8
  Author URI: https://premio.io/downloads/mystickymenu/
9
  Text Domain: mystickymenu
@@ -12,7 +12,7 @@ License: GPLv2 or later
12
  */
13
 
14
  defined('ABSPATH') or die("Cannot access pages directly.");
15
- define( 'MYSTICKY_VERSION', '2.3.2' );
16
  require_once("mystickymenu-fonts.php");
17
  require_once("welcome-bar.php");
18
 
@@ -82,6 +82,7 @@ class MyStickyMenuBackend
82
  }
83
  wp_enqueue_style('mystickymenuAdminStyle', plugins_url('/css/mystickymenu-admin.css', __FILE__), array(), MYSTICKY_VERSION );
84
  wp_enqueue_style( 'wp-color-picker' );
 
85
  wp_enqueue_style( 'wp-jquery-ui-dialog' );
86
  wp_enqueue_style('jquery-ui');
87
 
@@ -353,7 +354,7 @@ class MyStickyMenuBackend
353
  <label for="myfixed_bgcolor" class="mysticky_title myssticky-remove-hand"><?php _e("Sticky Background Color", 'mystickymenu')?></label>
354
  </td>
355
  <td>
356
- <input type="text" id="myfixed_bgcolor" name="mysticky_option_name[myfixed_bgcolor]" class="my-color-field" value="<?php echo $mysticky_options['myfixed_bgcolor'];?>" />
357
 
358
  </td>
359
  </tr>
@@ -980,15 +981,15 @@ class MyStickyMenuFrontend
980
  if ($mysticky_options ['disable_css'] == false ) {
981
 
982
  echo '<style id="mystickymenu" type="text/css">';
983
- echo '#mysticky-nav { width:100%; position: static; }';
984
- echo '#mysticky-nav.wrapfixed { position:fixed; left: 0px; margin-top:0px; z-index: '. $mysticky_options ['myfixed_zindex'] .'; -webkit-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; -moz-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; -o-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=' . $mysticky_options ['myfixed_opacity'] . ')"; filter: alpha(opacity=' . $mysticky_options ['myfixed_opacity'] . '); opacity:' . $mysticky_options ['myfixed_opacity'] / 100 . '; background-color: ' . $mysticky_options ['myfixed_bgcolor'] . ';}';
985
 
986
 
987
  if ($mysticky_options ['myfixed_disable_small_screen'] > 0 ){
988
  //echo '@media (max-width: '.$mysticky_options['myfixed_disable_small_screen'].'px) {#mysticky-nav.wrapfixed {position: static;} }';
989
  };
990
  if ( !isset( $mysticky_options['myfixed_cssstyle'] ) ) {
991
- echo '#mysticky-nav .myfixed { margin:0 auto; float:none; border:0px; background:none; max-width:100%; }';
992
  }
993
  if ( isset( $mysticky_options['myfixed_cssstyle'] ) && $mysticky_options['myfixed_cssstyle'] != '' ) {
994
  echo $mysticky_options ['myfixed_cssstyle'];
@@ -998,25 +999,28 @@ class MyStickyMenuFrontend
998
  ?>
999
  <style type="text/css">
1000
  <?php if( $template_name == 'hestia' ) { ?>
1001
- #mysticky-nav.wrapfixed {box-shadow: 0 1px 10px -6px #0000006b,0 1px 10px 0 #0000001f,0 4px 5px -2px #0000001a;}
1002
- #mysticky-nav.wrapfixed .navbar {position: relative;background-color: transparent;box-shadow: none;}
1003
  <?php } ?>
1004
  <?php if( $template_name == 'shapely' ) { ?>
1005
- #mysticky-nav.wrapfixed #site-navigation {position: relative;}
1006
  <?php } ?>
1007
  <?php if( $template_name == 'storefront' ) { ?>
1008
- #mysticky-nav.wrapfixed > .site-header {margin-bottom: 0;}
1009
- #mysticky-nav.wrapfixed > .storefront-primary-navigation {padding: 10px 0;}
1010
  <?php } ?>
1011
  <?php if( $template_name == 'transportex' ) { ?>
1012
- #mysticky-nav.wrapfixed > .transportex-menu-full {margin: 0 auto;}
1013
- .transportex-headwidget #mysticky-nav.wrapfixed .navbar-wp {top: 0;}
1014
  <?php } ?>
1015
  <?php if( $template_name == 'twentynineteen' ) { ?>
1016
- #mysticky-nav.wrapfixed {padding: 10px;}
1017
  <?php } ?>
1018
  <?php if( $template_name == 'twentysixteen' ) { ?>
1019
- #mysticky-nav.wrapfixed > .site-header {padding-top: 0;padding-bottom: 0;}
 
 
 
1020
  <?php } ?>
1021
  </style>
1022
  <?php
3
  Plugin Name: myStickymenu
4
  Plugin URI: https://premio.io/
5
  Description: Simple sticky (fixed on top) menu implementation for navigation menu and Welcome bar for announcements and promotion. After install go to Settings / myStickymenu and change Sticky Class to .your_navbar_class or #your_navbar_id.
6
+ Version: 2.3.3
7
  Author: Premio
8
  Author URI: https://premio.io/downloads/mystickymenu/
9
  Text Domain: mystickymenu
12
  */
13
 
14
  defined('ABSPATH') or die("Cannot access pages directly.");
15
+ define( 'MYSTICKY_VERSION', '2.3.3' );
16
  require_once("mystickymenu-fonts.php");
17
  require_once("welcome-bar.php");
18
 
82
  }
83
  wp_enqueue_style('mystickymenuAdminStyle', plugins_url('/css/mystickymenu-admin.css', __FILE__), array(), MYSTICKY_VERSION );
84
  wp_enqueue_style( 'wp-color-picker' );
85
+ //wp_enqueue_script( 'wp-color-picker-alpha', plugins_url('/js/wp-color-picker-alpha.min.js', __FILE__), array( 'wp-color-picker' ), MYSTICKY_VERSION );
86
  wp_enqueue_style( 'wp-jquery-ui-dialog' );
87
  wp_enqueue_style('jquery-ui');
88
 
354
  <label for="myfixed_bgcolor" class="mysticky_title myssticky-remove-hand"><?php _e("Sticky Background Color", 'mystickymenu')?></label>
355
  </td>
356
  <td>
357
+ <input type="text" id="myfixed_bgcolor" name="mysticky_option_name[myfixed_bgcolor]" class="my-color-field" data-alpha="true" value="<?php echo $mysticky_options['myfixed_bgcolor'];?>" />
358
 
359
  </td>
360
  </tr>
981
  if ($mysticky_options ['disable_css'] == false ) {
982
 
983
  echo '<style id="mystickymenu" type="text/css">';
984
+ echo '#mysticky-nav { width:100% !important; position: static !important; }';
985
+ echo '#mysticky-nav.wrapfixed { position:fixed !important; left: 0px !important; margin-top:0px !important; z-index: '. $mysticky_options ['myfixed_zindex'] .' !important; -webkit-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; -moz-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; -o-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=' . $mysticky_options ['myfixed_opacity'] . ')"; filter: alpha(opacity=' . $mysticky_options ['myfixed_opacity'] . '); opacity:' . $mysticky_options ['myfixed_opacity'] / 100 . ' !important; background-color: ' . $mysticky_options ['myfixed_bgcolor'] . ' !important;}';
986
 
987
 
988
  if ($mysticky_options ['myfixed_disable_small_screen'] > 0 ){
989
  //echo '@media (max-width: '.$mysticky_options['myfixed_disable_small_screen'].'px) {#mysticky-nav.wrapfixed {position: static;} }';
990
  };
991
  if ( !isset( $mysticky_options['myfixed_cssstyle'] ) ) {
992
+ echo '#mysticky-nav .myfixed { margin:0 auto !important; float:none !important; border:0px !important; background:none !important; max-width:100% !important; }';
993
  }
994
  if ( isset( $mysticky_options['myfixed_cssstyle'] ) && $mysticky_options['myfixed_cssstyle'] != '' ) {
995
  echo $mysticky_options ['myfixed_cssstyle'];
999
  ?>
1000
  <style type="text/css">
1001
  <?php if( $template_name == 'hestia' ) { ?>
1002
+ #mysticky-nav.wrapfixed {box-shadow: 0 1px 10px -6px #0000006b,0 1px 10px 0 #0000001f,0 4px 5px -2px #0000001a !important;}
1003
+ #mysticky-nav.wrapfixed .navbar {position: relative !important;background-color: transparent !important;box-shadow: none !important;}
1004
  <?php } ?>
1005
  <?php if( $template_name == 'shapely' ) { ?>
1006
+ #mysticky-nav.wrapfixed #site-navigation {position: relative !important;}
1007
  <?php } ?>
1008
  <?php if( $template_name == 'storefront' ) { ?>
1009
+ #mysticky-nav.wrapfixed > .site-header {margin-bottom: 0 !important;}
1010
+ #mysticky-nav.wrapfixed > .storefront-primary-navigation {padding: 10px 0 !important;}
1011
  <?php } ?>
1012
  <?php if( $template_name == 'transportex' ) { ?>
1013
+ #mysticky-nav.wrapfixed > .transportex-menu-full {margin: 0 auto !important;}
1014
+ .transportex-headwidget #mysticky-nav.wrapfixed .navbar-wp {top: 0 !important;}
1015
  <?php } ?>
1016
  <?php if( $template_name == 'twentynineteen' ) { ?>
1017
+ #mysticky-nav.wrapfixed {padding: 10px !important;}
1018
  <?php } ?>
1019
  <?php if( $template_name == 'twentysixteen' ) { ?>
1020
+ #mysticky-nav.wrapfixed > .site-header {padding-top: 0 !important;padding-bottom: 0 !important;}
1021
+ <?php } ?>
1022
+ <?php if( $template_name == 'twentytwenty' ) { ?>
1023
+ #site-header {background: transparent !important;}
1024
  <?php } ?>
1025
  </style>
1026
  <?php
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: tomeraharon, galdub, premio
3
  Tags:menu, header, sticky menu, sticky header, floating menu, floating navigation menu, navigation menu, navigation, sticky navigation menu, welcome bar, hello bar, top bar, sticky bar, floating bar, notification bar
4
  Requires at least: 3.5.1
5
  Tested up to: 5.3
6
- Stable tag: 2.3.2
7
  License: GPLv2 or later
8
 
9
  This sticky menu plugin will make your menu or header stick to the top of page, when scrolled down and up. Also create a beautiful Welcome bar with it.
@@ -66,6 +66,7 @@ But wait, there's more 😉
66
  * Show your bar on scroll or after a few seconds
67
  * Set an expiry date for your welcome bar
68
  * Display your floating bar on specific pages
 
69
 
70
  <a href="https://premio.io/downloads/mystickymenu/" target="_blank" title="mystickymenu pro plans"><strong>>>> See Pro plans here</strong></a>
71
 
@@ -258,6 +259,8 @@ After installing the plugin, you’ll have the option to turn on the welcome bar
258
 
259
 
260
  == Changelog ==
 
 
261
  = 2.3.2 =
262
  Minor bug fixes
263
  = 2.3.1 =
3
  Tags:menu, header, sticky menu, sticky header, floating menu, floating navigation menu, navigation menu, navigation, sticky navigation menu, welcome bar, hello bar, top bar, sticky bar, floating bar, notification bar
4
  Requires at least: 3.5.1
5
  Tested up to: 5.3
6
+ Stable tag: 2.3.3
7
  License: GPLv2 or later
8
 
9
  This sticky menu plugin will make your menu or header stick to the top of page, when scrolled down and up. Also create a beautiful Welcome bar with it.
66
  * Show your bar on scroll or after a few seconds
67
  * Set an expiry date for your welcome bar
68
  * Display your floating bar on specific pages
69
+ * New: You can set a thank you screen which appears after the button is clicked (can be used for coupons or any other message you want to show your visitors after they click on the button)
70
 
71
  <a href="https://premio.io/downloads/mystickymenu/" target="_blank" title="mystickymenu pro plans"><strong>>>> See Pro plans here</strong></a>
72
 
259
 
260
 
261
  == Changelog ==
262
+ = 2.3.3 =
263
+ Slight CSS fixes
264
  = 2.3.2 =
265
  Minor bug fixes
266
  = 2.3.1 =
welcome-bar.php CHANGED
@@ -69,13 +69,13 @@ function mysticky_welcome_bar_backend() {
69
  <div class="mysticky-welcomebar-setting-content">
70
  <label><?php _e('Background Color', 'myStickymenu'); ?></label>
71
  <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-colorpicker">
72
- <input type="text" id="mysticky_welcomebar_bgcolor" name="mysticky_option_welcomebar[mysticky_welcomebar_bgcolor]" class="my-color-field" value="<?php echo $welcomebar['mysticky_welcomebar_bgcolor'];?>" />
73
  </div>
74
  </div>
75
  <div class="mysticky-welcomebar-setting-content">
76
  <label><?php _e('Background Text Color', 'myStickymenu'); ?></label>
77
  <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-colorpicker">
78
- <input type="text" id="mysticky_welcomebar_bgtxtcolor" name="mysticky_option_welcomebar[mysticky_welcomebar_bgtxtcolor]" class="my-color-field" value="<?php echo $welcomebar['mysticky_welcomebar_bgtxtcolor'];?>" />
79
  </div>
80
  </div>
81
  <div class="mysticky-welcomebar-setting-content">
@@ -143,13 +143,13 @@ function mysticky_welcome_bar_backend() {
143
  <div class="mysticky-welcomebar-setting-content">
144
  <label><?php _e('Button Color', 'myStickymenu'); ?></label>
145
  <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-colorpicker">
146
- <input type="text" id="mysticky_welcomebar_btncolor" name="mysticky_option_welcomebar[mysticky_welcomebar_btncolor]" class="my-color-field" value="<?php echo esc_attr($welcomebar['mysticky_welcomebar_btncolor']);?>" />
147
  </div>
148
  </div>
149
  <div class="mysticky-welcomebar-setting-content">
150
  <label><?php _e('Button Text Color', 'myStickymenu'); ?></label>
151
  <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-colorpicker">
152
- <input type="text" id="mysticky_welcomebar_btntxtcolor" name="mysticky_option_welcomebar[mysticky_welcomebar_btntxtcolor]" class="my-color-field" value="<?php echo $welcomebar['mysticky_welcomebar_btntxtcolor'];?>" />
153
  </div>
154
  </div>
155
  <div class="mysticky-welcomebar-setting-content">
@@ -158,13 +158,32 @@ function mysticky_welcome_bar_backend() {
158
  <input type="text" id="mysticky_welcomebar_btn_text" class="mystickyinput" name="mysticky_option_welcomebar[mysticky_welcomebar_btn_text]" value="<?php echo $welcomebar['mysticky_welcomebar_btn_text'];?>" />
159
  </div>
160
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161
  <div class="mysticky-welcomebar-setting-content">
162
- <label><?php _e('Action', 'myStickymenu'); ?></label>
163
  <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-setting-redirect-wrap">
164
  <div class="mysticky-welcomebar-setting-action">
165
  <select name="mysticky_option_welcomebar[mysticky_welcomebar_actionselect]" class="mysticky-welcomebar-action">
166
  <option value="redirect_to_url" <?php selected( @$welcomebar['mysticky_welcomebar_actionselect'], 'redirect_to_url' ); ?>><?php _e( 'Redirect to URL', 'myStickymenu' );?></option>
167
  <option value="close_bar" <?php selected( @$welcomebar['mysticky_welcomebar_actionselect'], 'close_bar' ); ?>><?php _e( 'Close bar', 'myStickymenu' );?></option>
 
168
  </select>
169
  </div>
170
  <div class="mysticky-welcomebar-setting-action mysticky-welcomebar-redirect" <?php if ( $welcomebar['mysticky_welcomebar_actionselect'] == 'close_bar' ) : ?> style="display:none;" <?php endif;?> >
@@ -179,26 +198,9 @@ function mysticky_welcome_bar_backend() {
179
  </div>
180
  </div>
181
  </div>
182
- <!-- -->
183
- <div class="mysticky-welcomebar-setting-content">
184
- <label><?php _e('Attention Effect', 'myStickymenu'); ?></label>
185
- <div class="mysticky-welcomebar-setting-content-right">
186
- <div class="mysticky-welcomebar-setting-attention">
187
- <select name="mysticky_option_welcomebar[mysticky_welcomebar_attentionselect]" class="mysticky-welcomebar-attention">
188
- <option value="default" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], ' ' ); ?>><?php _e( 'None', 'myStickymenu' );?></option>
189
- <option value="flash" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], 'flash' ); ?>><?php _e( 'Flash', 'myStickymenu' );?></option>
190
- <option value="shake" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], 'shake' ); ?>><?php _e( 'Shake', 'myStickymenu' );?></option>
191
- <option value="swing" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], 'swing' ); ?>><?php _e( 'Swing', 'myStickymenu' );?></option>
192
- <option value="tada" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], 'tada' ); ?>><?php _e( 'Tada', 'myStickymenu' );?></option>
193
- <option value="heartbeat" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], 'heartbeat' ); ?>><?php _e( 'Heartbeat', 'myStickymenu' );?></option>
194
- <option value="wobble" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], 'wobble' ); ?>><?php _e( 'Wobble', 'myStickymenu' );?></option>
195
- </select>
196
- </div>
197
- </div>
198
- </div>
199
- <!-- -->
200
  <div class="mysticky-welcomebar-setting-content mysticky-welcomebar-setting-remove-getbar">
201
- <label><?php _e('Remove myStickymenu', 'myStickymenu'); ?></label>
202
  <div class="mysticky-welcomebar-setting-content-right">
203
  <div class="mysticky-welcomebar-switch">
204
  <input type="checkbox" id="mysticky-welcomebar-remove-getbar" name="mysticky_option_welcomebar[mysticky_welcomebar_remove_getbar]" value="1" disabled />
@@ -373,11 +375,11 @@ function mysticky_welcome_bar_backend() {
373
  .mysticky-welcomebar-fixed .mysticky-welcomebar-content p {
374
  color: <?php echo $welcomebar['mysticky_welcomebar_bgtxtcolor'] ?>;
375
  font-size: <?php echo $welcomebar['mysticky_welcomebar_fontsize'] ?>px;
376
- font-family: inherit;
377
- margin: 0;
378
- padding: 0;
379
- line-height: 1.2;
380
- font-weight: 400;
381
  }
382
  .mysticky-welcomebar-fixed .mysticky-welcomebar-btn {
383
  padding-left: 30px;
@@ -1172,13 +1174,13 @@ function mysticky_welcome_bar_frontend(){
1172
  bottom: 0;
1173
  }
1174
  .mysticky-welcomebar-fixed .mysticky-welcomebar-content p {
1175
- color: <?php echo $welcomebar['mysticky_welcomebar_bgtxtcolor'] ?>;
1176
- font-size: <?php echo $welcomebar['mysticky_welcomebar_fontsize'] ?>px;
1177
- margin: 0;
1178
- padding: 0;
1179
- line-height: 1.2;
1180
- font-family: inherit;
1181
- font-weight: 400;
1182
  }
1183
  .mysticky-welcomebar-fixed .mysticky-welcomebar-btn {
1184
  padding-left: 30px;
@@ -1189,41 +1191,41 @@ function mysticky_welcome_bar_frontend(){
1189
  display: block;
1190
  }
1191
  .mysticky-welcomebar-fixed .mysticky-welcomebar-btn a {
1192
- background-color: <?php echo $welcomebar['mysticky_welcomebar_btncolor'] ?>;
1193
- font-family: inherit;
1194
- color: <?php echo $welcomebar['mysticky_welcomebar_btntxtcolor'] ?>;
1195
- border-radius: 4px;
1196
- text-decoration: none;
1197
- display: inline-block;
1198
- vertical-align: top;
1199
- line-height: 1.2;
1200
- font-size: <?php echo $welcomebar['mysticky_welcomebar_fontsize'] ?>px;
1201
- font-weight: 400;
1202
- padding: 5px 20px;
1203
- white-space: nowrap;
1204
  }
1205
  .mysticky-welcomebar-fixed .mysticky-welcomebar-btn a:hover {
1206
  /*opacity: 0.7;*/
1207
- -moz-box-shadow: 1px 2px 4px rgba(0, 0, 0,0.5);
1208
- -webkit-box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
1209
- box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
1210
  }
1211
  .mysticky-welcomebar-fixed .mysticky-welcomebar-close {
1212
  display: none;
1213
- vertical-align: top;
1214
- width: 30px;
1215
- height: 30px;
1216
- text-align: center;
1217
- line-height: 30px;
1218
- border-radius: 5px;
1219
- color: #000;
1220
- position: absolute;
1221
- top: 5px;
1222
- right: 10px;
1223
- outline: none;
1224
- font-family: Lato;
1225
- text-decoration: none;
1226
- text-shadow: 0 0 0px #fff;
1227
  -webkit-transition: all 0.5s ease 0s;
1228
  -moz-transition: all 0.5s ease 0s;
1229
  transition: all 0.5s ease 0s;
@@ -1640,7 +1642,7 @@ function mysticky_welcome_bar_frontend(){
1640
  padding-left: 10px;
1641
  }
1642
  .mysticky-welcomebar-fixed .mysticky-welcomebar-close {
1643
- right: 7px;
1644
  }
1645
  }
1646
  </style>
69
  <div class="mysticky-welcomebar-setting-content">
70
  <label><?php _e('Background Color', 'myStickymenu'); ?></label>
71
  <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-colorpicker">
72
+ <input type="text" id="mysticky_welcomebar_bgcolor" name="mysticky_option_welcomebar[mysticky_welcomebar_bgcolor]" class="my-color-field" data-alpha="true" value="<?php echo $welcomebar['mysticky_welcomebar_bgcolor'];?>" />
73
  </div>
74
  </div>
75
  <div class="mysticky-welcomebar-setting-content">
76
  <label><?php _e('Background Text Color', 'myStickymenu'); ?></label>
77
  <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-colorpicker">
78
+ <input type="text" id="mysticky_welcomebar_bgtxtcolor" name="mysticky_option_welcomebar[mysticky_welcomebar_bgtxtcolor]" class="my-color-field" data-alpha="true" value="<?php echo $welcomebar['mysticky_welcomebar_bgtxtcolor'];?>" />
79
  </div>
80
  </div>
81
  <div class="mysticky-welcomebar-setting-content">
143
  <div class="mysticky-welcomebar-setting-content">
144
  <label><?php _e('Button Color', 'myStickymenu'); ?></label>
145
  <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-colorpicker">
146
+ <input type="text" id="mysticky_welcomebar_btncolor" name="mysticky_option_welcomebar[mysticky_welcomebar_btncolor]" class="my-color-field" data-alpha="true" value="<?php echo esc_attr($welcomebar['mysticky_welcomebar_btncolor']);?>" />
147
  </div>
148
  </div>
149
  <div class="mysticky-welcomebar-setting-content">
150
  <label><?php _e('Button Text Color', 'myStickymenu'); ?></label>
151
  <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-colorpicker">
152
+ <input type="text" id="mysticky_welcomebar_btntxtcolor" name="mysticky_option_welcomebar[mysticky_welcomebar_btntxtcolor]" class="my-color-field" data-alpha="true" value="<?php echo $welcomebar['mysticky_welcomebar_btntxtcolor'];?>" />
153
  </div>
154
  </div>
155
  <div class="mysticky-welcomebar-setting-content">
158
  <input type="text" id="mysticky_welcomebar_btn_text" class="mystickyinput" name="mysticky_option_welcomebar[mysticky_welcomebar_btn_text]" value="<?php echo $welcomebar['mysticky_welcomebar_btn_text'];?>" />
159
  </div>
160
  </div>
161
+ <!-- -->
162
+ <div class="mysticky-welcomebar-setting-content">
163
+ <label><?php _e('Attention Effect', 'myStickymenu'); ?></label>
164
+ <div class="mysticky-welcomebar-setting-content-right">
165
+ <div class="mysticky-welcomebar-setting-attention">
166
+ <select name="mysticky_option_welcomebar[mysticky_welcomebar_attentionselect]" class="mysticky-welcomebar-attention">
167
+ <option value="default" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], ' ' ); ?>><?php _e( 'None', 'myStickymenu' );?></option>
168
+ <option value="flash" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], 'flash' ); ?>><?php _e( 'Flash', 'myStickymenu' );?></option>
169
+ <option value="shake" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], 'shake' ); ?>><?php _e( 'Shake', 'myStickymenu' );?></option>
170
+ <option value="swing" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], 'swing' ); ?>><?php _e( 'Swing', 'myStickymenu' );?></option>
171
+ <option value="tada" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], 'tada' ); ?>><?php _e( 'Tada', 'myStickymenu' );?></option>
172
+ <option value="heartbeat" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], 'heartbeat' ); ?>><?php _e( 'Heartbeat', 'myStickymenu' );?></option>
173
+ <option value="wobble" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], 'wobble' ); ?>><?php _e( 'Wobble', 'myStickymenu' );?></option>
174
+ </select>
175
+ </div>
176
+ </div>
177
+ </div>
178
+ <!-- -->
179
  <div class="mysticky-welcomebar-setting-content">
180
+ <label><?php _e('Button Submission', 'myStickymenu'); ?></label>
181
  <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-setting-redirect-wrap">
182
  <div class="mysticky-welcomebar-setting-action">
183
  <select name="mysticky_option_welcomebar[mysticky_welcomebar_actionselect]" class="mysticky-welcomebar-action">
184
  <option value="redirect_to_url" <?php selected( @$welcomebar['mysticky_welcomebar_actionselect'], 'redirect_to_url' ); ?>><?php _e( 'Redirect to URL', 'myStickymenu' );?></option>
185
  <option value="close_bar" <?php selected( @$welcomebar['mysticky_welcomebar_actionselect'], 'close_bar' ); ?>><?php _e( 'Close bar', 'myStickymenu' );?></option>
186
+ <option value="thankyou_screen" data-href="<?php echo esc_url($upgarde_url); ?>"><?php _e( 'Thank you screen (Upgrade Now)', 'myStickymenu' );?></option>
187
  </select>
188
  </div>
189
  <div class="mysticky-welcomebar-setting-action mysticky-welcomebar-redirect" <?php if ( $welcomebar['mysticky_welcomebar_actionselect'] == 'close_bar' ) : ?> style="display:none;" <?php endif;?> >
198
  </div>
199
  </div>
200
  </div>
201
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
202
  <div class="mysticky-welcomebar-setting-content mysticky-welcomebar-setting-remove-getbar">
203
+ <label><?php _e('Remove myStickymenu Credit', 'myStickymenu'); ?></label>
204
  <div class="mysticky-welcomebar-setting-content-right">
205
  <div class="mysticky-welcomebar-switch">
206
  <input type="checkbox" id="mysticky-welcomebar-remove-getbar" name="mysticky_option_welcomebar[mysticky_welcomebar_remove_getbar]" value="1" disabled />
375
  .mysticky-welcomebar-fixed .mysticky-welcomebar-content p {
376
  color: <?php echo $welcomebar['mysticky_welcomebar_bgtxtcolor'] ?>;
377
  font-size: <?php echo $welcomebar['mysticky_welcomebar_fontsize'] ?>px;
378
+ font-family: inherit !important;
379
+ margin: 0 !important;
380
+ padding: 0 !important;
381
+ line-height: 1.2 !important;
382
+ font-weight: 400 !important;
383
  }
384
  .mysticky-welcomebar-fixed .mysticky-welcomebar-btn {
385
  padding-left: 30px;
1174
  bottom: 0;
1175
  }
1176
  .mysticky-welcomebar-fixed .mysticky-welcomebar-content p {
1177
+ color: <?php echo $welcomebar['mysticky_welcomebar_bgtxtcolor'] ?> !important;
1178
+ font-size: <?php echo $welcomebar['mysticky_welcomebar_fontsize'] ?>px !important;
1179
+ margin: 0 !important;
1180
+ padding: 0 !important;
1181
+ line-height: 1.2 !important;
1182
+ font-family: inherit !important;
1183
+ font-weight: 400 !important;
1184
  }
1185
  .mysticky-welcomebar-fixed .mysticky-welcomebar-btn {
1186
  padding-left: 30px;
1191
  display: block;
1192
  }
1193
  .mysticky-welcomebar-fixed .mysticky-welcomebar-btn a {
1194
+ background-color: <?php echo $welcomebar['mysticky_welcomebar_btncolor'] ?> !important;
1195
+ font-family: inherit !important;
1196
+ color: <?php echo $welcomebar['mysticky_welcomebar_btntxtcolor'] ?> !important;
1197
+ border-radius: 4px !important;
1198
+ text-decoration: none !important;
1199
+ display: inline-block !important;
1200
+ vertical-align: top !important;
1201
+ line-height: 1.2 !important;
1202
+ font-size: <?php echo $welcomebar['mysticky_welcomebar_fontsize'] ?>px !important;
1203
+ font-weight: 400 !important;
1204
+ padding: 5px 20px !important;
1205
+ white-space: nowrap !important;
1206
  }
1207
  .mysticky-welcomebar-fixed .mysticky-welcomebar-btn a:hover {
1208
  /*opacity: 0.7;*/
1209
+ -moz-box-shadow: 1px 2px 4px rgba(0, 0, 0,0.5) !important;
1210
+ -webkit-box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5) !important;
1211
+ box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5) !important;
1212
  }
1213
  .mysticky-welcomebar-fixed .mysticky-welcomebar-close {
1214
  display: none;
1215
+ vertical-align: top !important;
1216
+ width: 30px !important;
1217
+ height: 30px !important;
1218
+ text-align: center !important;
1219
+ line-height: 30px !important;
1220
+ border-radius: 5px !important;
1221
+ color: #000 !important;
1222
+ position: absolute !important;
1223
+ top: 5px !important;
1224
+ right: 10px !important;
1225
+ outline: none; !important
1226
+ font-family: Lato !important;
1227
+ text-decoration: none !important;
1228
+ text-shadow: 0 0 0px #fff !important;
1229
  -webkit-transition: all 0.5s ease 0s;
1230
  -moz-transition: all 0.5s ease 0s;
1231
  transition: all 0.5s ease 0s;
1642
  padding-left: 10px;
1643
  }
1644
  .mysticky-welcomebar-fixed .mysticky-welcomebar-close {
1645
+ right: 7px !important;
1646
  }
1647
  }
1648
  </style>