Supreme Modules Lite – Divi Theme, Extra Theme and Divi Builder - Version 2.1.5

Version Description

06.05.2020 = * Fixed: Menu dropdown icon showing properly due to padding when using Divi Easy Theme Builder for Header. * Enhanced: Public enqueued method.

Download this release

Release Info

Developer divisupreme
Plugin Icon 128x128 Supreme Modules Lite – Divi Theme, Extra Theme and Divi Builder
Version 2.1.5
Comparing to
See all releases

Code changes from version 2.1.4 to 2.1.5

public/class-dsm-supreme-modules-for-divi-public.php CHANGED
@@ -130,14 +130,10 @@ class Dsm_Supreme_Modules_For_Divi_Public {
130
  $easy_theme_builder = isset( get_option( 'dsm_theme_builder' )['dsm_theme_builder_header_fixed'] ) && 'off' !== get_option( 'dsm_theme_builder' )['dsm_theme_builder_header_fixed'] ? true : false;
131
  if ( $easy_theme_builder === true ) {
132
  wp_enqueue_script( 'dsm-easy-theme-builder', plugin_dir_url( __FILE__ ) . 'js/dsm-easy-tb.js', array( 'jquery' ), DSM_VERSION, true );
133
- $dsm_tb_header_section_padding = isset( get_option( 'dsm_theme_builder' )['dsm_theme_builder_header_section_padding'] ) && '' !== get_option( 'dsm_theme_builder' )['dsm_theme_builder_header_section_padding'] ? get_option( 'dsm_theme_builder' )['dsm_theme_builder_header_section_padding'] : '';
134
- $dsm_tb_header_row_padding = isset( get_option( 'dsm_theme_builder' )['dsm_theme_builder_header_row_padding'] ) && '' !== get_option( 'dsm_theme_builder' )['dsm_theme_builder_header_row_padding'] ? get_option( 'dsm_theme_builder' )['dsm_theme_builder_header_row_padding'] : '';
135
  $dsm_tb_header_start_threshold = isset( get_option( 'dsm_theme_builder' )['dsm_theme_builder_header_start_threshold'] ) && '' !== get_option( 'dsm_theme_builder' )['dsm_theme_builder_header_start_threshold'] ? get_option( 'dsm_theme_builder' )['dsm_theme_builder_header_start_threshold'] : '150';
136
 
137
  $dsm_tb_header = array(
138
- 'section_padding' => $dsm_tb_header_section_padding,
139
- 'row_padding' => $dsm_tb_header_row_padding,
140
- 'threshold' => $dsm_tb_header_start_threshold,
141
  );
142
 
143
  wp_localize_script( 'dsm-easy-theme-builder', 'dsm_easy_tb_js', $dsm_tb_header );
130
  $easy_theme_builder = isset( get_option( 'dsm_theme_builder' )['dsm_theme_builder_header_fixed'] ) && 'off' !== get_option( 'dsm_theme_builder' )['dsm_theme_builder_header_fixed'] ? true : false;
131
  if ( $easy_theme_builder === true ) {
132
  wp_enqueue_script( 'dsm-easy-theme-builder', plugin_dir_url( __FILE__ ) . 'js/dsm-easy-tb.js', array( 'jquery' ), DSM_VERSION, true );
 
 
133
  $dsm_tb_header_start_threshold = isset( get_option( 'dsm_theme_builder' )['dsm_theme_builder_header_start_threshold'] ) && '' !== get_option( 'dsm_theme_builder' )['dsm_theme_builder_header_start_threshold'] ? get_option( 'dsm_theme_builder' )['dsm_theme_builder_header_start_threshold'] : '150';
134
 
135
  $dsm_tb_header = array(
136
+ 'threshold' => $dsm_tb_header_start_threshold,
 
 
137
  );
138
 
139
  wp_localize_script( 'dsm-easy-theme-builder', 'dsm_easy_tb_js', $dsm_tb_header );
public/css/dsm-easy-tb.css CHANGED
@@ -40,7 +40,8 @@ body.logged-in.admin-bar.dsm_fixed_header header.et-l--header {
40
  }
41
 
42
  .dsm_fixed_header_shrink.dsm_fixed_header_shrink_active header.et-l--header .et_pb_menu__menu>nav>ul>li>a {
43
- padding: 21px 0;
 
44
  }
45
  .dsm_fixed_header_shrink header.et-l--header img {
46
  transition: max-width 0.4s ease-in-out;
40
  }
41
 
42
  .dsm_fixed_header_shrink.dsm_fixed_header_shrink_active header.et-l--header .et_pb_menu__menu>nav>ul>li>a {
43
+ padding-top: 21px;
44
+ padding-bottom: 21px;
45
  }
46
  .dsm_fixed_header_shrink header.et-l--header img {
47
  transition: max-width 0.4s ease-in-out;
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: https://suprememodules.com/
5
  Requires at least: 4.5
6
  Tested up to: 5.4.1
7
  Requires PHP: 5.6
8
- Stable tag: 2.1.4
9
  License: GPLv2
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -111,6 +111,10 @@ This is a common question that we get asked here every now and then which is why
111
 
112
 
113
  == Changelog ==
 
 
 
 
114
  = 2.1.4 – 06.05.2020 =
115
  * Added: Divi Easy Theme Builder Header.
116
  * Enhanced: Divi Supreme setting page.
5
  Requires at least: 4.5
6
  Tested up to: 5.4.1
7
  Requires PHP: 5.6
8
+ Stable tag: 2.1.5
9
  License: GPLv2
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
111
 
112
 
113
  == Changelog ==
114
+ = 2.1.5 – 06.05.2020 =
115
+ * Fixed: Menu dropdown icon showing properly due to padding when using Divi Easy Theme Builder for Header.
116
+ * Enhanced: Public enqueued method.
117
+
118
  = 2.1.4 – 06.05.2020 =
119
  * Added: Divi Easy Theme Builder Header.
120
  * Enhanced: Divi Supreme setting page.
supreme-modules-for-divi.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Supreme Modules Lite - Divi Theme, Extra Theme and Divi Builder
4
  * Plugin URI: https://suprememodules.com
5
  * Description: Divi Supreme enhances the experience and features found on Divi and extend with custom creative modules to help you build amazing websites.
6
- * Version: 2.1.4
7
  * Author: Supreme Modules
8
  * Author URI: https://suprememodules.com/about-us/
9
  * License: GPL2
@@ -34,7 +34,7 @@ if ( ! defined( 'ABSPATH' ) ) {
34
  }
35
 
36
  if ( ! defined( 'DSM_VERSION' ) ) {
37
- define( 'DSM_VERSION', '2.1.4' );
38
  }
39
  if ( ! defined( 'DSM_SHORTCODE' ) ) {
40
  define( 'DSM_SHORTCODE', 'divi_shortcode' );
3
  * Plugin Name: Supreme Modules Lite - Divi Theme, Extra Theme and Divi Builder
4
  * Plugin URI: https://suprememodules.com
5
  * Description: Divi Supreme enhances the experience and features found on Divi and extend with custom creative modules to help you build amazing websites.
6
+ * Version: 2.1.5
7
  * Author: Supreme Modules
8
  * Author URI: https://suprememodules.com/about-us/
9
  * License: GPL2
34
  }
35
 
36
  if ( ! defined( 'DSM_VERSION' ) ) {
37
+ define( 'DSM_VERSION', '2.1.5' );
38
  }
39
  if ( ! defined( 'DSM_SHORTCODE' ) ) {
40
  define( 'DSM_SHORTCODE', 'divi_shortcode' );