TemplatesNext ToolKit - Version 2.0.8

Version Description

Download this release

Release Info

Developer marsian
Plugin Icon 128x128 TemplatesNext ToolKit
Version 2.0.8
Comparing to
See all releases

Code changes from version 2.0.7 to 2.0.8

Files changed (4) hide show
  1. css/tx-style.css +42 -6
  2. readme.txt +2 -2
  3. shortcodes.php +2 -1
  4. tx-toolkit.php +1 -1
css/tx-style.css CHANGED
@@ -1175,8 +1175,8 @@
1175
 
1176
  .tx-slide-title {
1177
  display: inline-block;
1178
- font-weight: 600;
1179
- font-size: 32px;
1180
  padding: 8px 16px;
1181
  color: #FFF;
1182
  background-color: rgba(0,0,0,0.36);
@@ -1682,9 +1682,6 @@ span.tx-animate {
1682
  }
1683
 
1684
  @media (max-width: 767px) {
1685
- .owl-item .tx-slide-details p {
1686
- display: none;
1687
- }
1688
  .tx-team.tx-2-column-team .tx-team-item {
1689
  width: 100%;
1690
  }
@@ -1815,13 +1812,21 @@ span.tx-animate {
1815
  margin-right: auto;
1816
  }
1817
 
1818
- .vslider_button {
 
1819
  display: inline-block;
1820
  height: 48px;
1821
  line-height: 48px;
1822
  padding: 0px 48px;
1823
  color: #FFF;
1824
  text-transform: uppercase;
 
 
 
 
 
 
 
1825
  }
1826
 
1827
  .tx-youtube-warp {
@@ -1994,4 +1999,35 @@ span.tx-animate {
1994
 
1995
  .tx-slider .owl-buttons div {
1996
  background-color: #F60;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1997
  }
1175
 
1176
  .tx-slide-title {
1177
  display: inline-block;
1178
+ font-weight: 500;
1179
+ font-size: 48px;
1180
  padding: 8px 16px;
1181
  color: #FFF;
1182
  background-color: rgba(0,0,0,0.36);
1682
  }
1683
 
1684
  @media (max-width: 767px) {
 
 
 
1685
  .tx-team.tx-2-column-team .tx-team-item {
1686
  width: 100%;
1687
  }
1812
  margin-right: auto;
1813
  }
1814
 
1815
+ .vslider_button,
1816
+ .vslider_button:visited {
1817
  display: inline-block;
1818
  height: 48px;
1819
  line-height: 48px;
1820
  padding: 0px 48px;
1821
  color: #FFF;
1822
  text-transform: uppercase;
1823
+ background-color: #333;
1824
+ text-decoration: none;
1825
+ }
1826
+
1827
+ .vslider_button:hover {
1828
+ text-decoration: none;
1829
+ background-color: #333!important;
1830
  }
1831
 
1832
  .tx-youtube-warp {
1999
 
2000
  .tx-slider .owl-buttons div {
2001
  background-color: #F60;
2002
+ }
2003
+
2004
+ @media (max-width: 720px) {
2005
+ .tx-slider .tx-slider-box .nx-slider-container {
2006
+ padding-top: 32px;
2007
+ padding-left: 32px;
2008
+ padding-right: 32px;
2009
+ }
2010
+
2011
+ .tx-slider,
2012
+ .tx-slider .tx-slider-box {
2013
+ min-width: 360px;
2014
+ }
2015
+ .tx-slider .tx-slider-box .tx-slider-img {
2016
+ display: block;
2017
+ overflow: hidden;
2018
+ text-align: center;
2019
+ margin: auto;
2020
+ position: relative;
2021
+ }
2022
+ .tx-slider .tx-slider-box .tx-slider-img a img {
2023
+ width: auto;
2024
+ min-height: 320px;
2025
+ max-width: 883px;
2026
+
2027
+ margin: auto;
2028
+ display: block;
2029
+
2030
+ margin-left: 50%;
2031
+ transform: translateX(-50%);
2032
+ }
2033
  }
readme.txt CHANGED
@@ -3,8 +3,8 @@
3
  Contributors: marsian
4
  Tags: shortcode, shortcodes, columns, column, section, sections, portfolio, testimonial, border, borders, button, buttons, masonry, posts, post_type, font awesome, icons, fontawesome
5
  Requires at least: 3.6
6
- Tested up to: 4.7
7
- Stable tag: 2.0.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
3
  Contributors: marsian
4
  Tags: shortcode, shortcodes, columns, column, section, sections, portfolio, testimonial, border, borders, button, buttons, masonry, posts, post_type, font awesome, icons, fontawesome
5
  Requires at least: 3.6
6
+ Tested up to: 4.8
7
+ Stable tag: 2.0.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
shortcodes.php CHANGED
@@ -932,6 +932,7 @@ function tx_vslider_function($atts, $content = null) {
932
  $overlay = esc_attr($atts['overlay']);
933
  $reduct = esc_attr($atts['reduct']);
934
 
 
935
 
936
  if ( strpos( $atts['vurl'], 'youtu' ) !== false )
937
  {
@@ -963,7 +964,7 @@ function tx_vslider_function($atts, $content = null) {
963
  }
964
 
965
  if( !empty($atts['linkurl']) && !empty($atts['linktext']) ){
966
- $return_string .= '<button class="vslider_button button" href="'.esc_attr($atts['linkurl']).'">'.esc_attr($atts['linktext']).'</button>';
967
  }
968
 
969
  $return_string .= '<div class="clear"></div>';
932
  $overlay = esc_attr($atts['overlay']);
933
  $reduct = esc_attr($atts['reduct']);
934
 
935
+ $button_bg_color = esc_attr(get_theme_mod('primary_color', '#95C837'));
936
 
937
  if ( strpos( $atts['vurl'], 'youtu' ) !== false )
938
  {
964
  }
965
 
966
  if( !empty($atts['linkurl']) && !empty($atts['linktext']) ){
967
+ $return_string .= '<a class="vslider_button button" href="'.esc_attr($atts['linkurl']).'" style="background-color:'.$button_bg_color.'">'.esc_attr($atts['linktext']).'</a>';
968
  }
969
 
970
  $return_string .= '<div class="clear"></div>';
tx-toolkit.php CHANGED
@@ -3,7 +3,7 @@
3
  /*
4
  Plugin Name: TemplatesNext ToolKit
5
  Description: Custom Portfolio and Shortcode functionality for TemplatesNext Wordpress Themes
6
- Version: 2.0.7
7
  Author: TemplatesNext
8
  Author URI: http://templatesnext.org/
9
  License: GPLv2 or later
3
  /*
4
  Plugin Name: TemplatesNext ToolKit
5
  Description: Custom Portfolio and Shortcode functionality for TemplatesNext Wordpress Themes
6
+ Version: 2.0.8
7
  Author: TemplatesNext
8
  Author URI: http://templatesnext.org/
9
  License: GPLv2 or later