Sonal S Sinha Moderator
Topics: 0 Replies: 31271 Total: 31271
Member since: August 16, 2013
Hi Toby,
Kindly check the file directory here: /wp-content/themes/skt-healing-touch-pro/js/custom.js
Here is the code of custom.js
jQuery(document).ready( function(){
var ww = jQuery(window).width();
if( ww > 479 && ww < 719){
jQuery('.client').removeClass('last');
}
// skill bar script
jQuery('.skillbar').each(function(){
jQuery(this).find('.skillbar-bar').animate({
width:jQuery(this).attr('data-percent')
},6000);
});
jQuery("area[rel^='prettyPhoto']").prettyPhoto();
jQuery(".gallery:first a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'normal',theme:'light_square',slideshow:3000, autoplay_slideshow: false});
jQuery(".gallery:gt(0) a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'fast',slideshow:10000, hideflash: true});
jQuery("#custom_content a[rel^='prettyPhoto']:first").prettyPhoto({
custom_markup: '<div id="map_canvas" style="width:260px; height:265px"></div>',
changepicturecallback: function(){ initialize(); }
});
jQuery("#custom_content a[rel^='prettyPhoto']:last").prettyPhoto({
custom_markup: '<div id="bsap_1259344" class="bsarocks bsap_d49a0984d0f377271ccbf01a33f2b6d6"></div><div id="bsap_1237859" class="bsarocks bsap_d49a0984d0f377271ccbf01a33f2b6d6" style="height:260px"></div><div id="bsap_1251710" class="bsarocks bsap_d49a0984d0f377271ccbf01a33f2b6d6"></div>',
changepicturecallback: function(){ _bsap.exec(); }
});
// accordion
jQuery('.accordion-box .acc-content').hide();
jQuery('.accordion-box h2:first').addClass('active').next().show();
jQuery('.accordion-box h2').click(function(){
if( jQuery(this).next().is(':hidden') ) {
jQuery('.accordion-box h2').removeClass('active').next().slideUp();
jQuery(this).toggleClass('active').next().slideDown();
}
return false; // Prevent the browser jump to the link anchor
});
// Tabs
jQuery('ul.tabs > br').remove();
jQuery('.tabs-wrapper').append(jQuery('.tabs li div'));
jQuery('.tabs li:first a').addClass('defaulttab selected');
jQuery('.tabs a').click(function(){
switch_tabs(jQuery(this));
});
switch_tabs(jQuery('.defaulttab'));
function switch_tabs(obj) {
jQuery('.tab-content').hide();
jQuery('.tabs a').removeClass("selected");
var id = obj.attr("rel");
jQuery('#'+id).show();
obj.addClass("selected");
}
// Content Toggle
jQuery(".slide_toggle_content").hide();
jQuery("h3.slide_toggle").toggle(function(){
jQuery(this).addClass("clicked");
}, function () {
jQuery(this).removeClass("clicked");
});
jQuery("h3.slide_toggle").click(function(){
jQuery(this).next(".slide_toggle_content").slideToggle();
});
});
jQuery(document).ready(function() {
jQuery('#testimonials .quotes').quovolver({
children : 'li',
transitionSpeed : 600,
autoPlay : true,
autoPlaySpeed:6000,
equalHeight : false,
navPosition : 'above',
navPrev : false,
navNext : false,
navNum : false,
navText : false,
navTextContent : 'Quote @a of @b'
});
});
// NAVIGATION CALLBACK
var ww = jQuery(window).width();
jQuery(document).ready(function() {
jQuery(".nav li a").each(function() {
if (jQuery(this).next().length > 0) {
jQuery(this).addClass("parent");
};
})
jQuery(".toggleMenu").click(function(e) {
e.preventDefault();
jQuery(this).toggleClass("active");
jQuery(".nav").slideToggle('fast');
});
adjustMenu();
})
// navigation orientation resize callbak
jQuery(window).bind('resize orientationchange', function() {
ww = jQuery(window).width();
adjustMenu();
});
var adjustMenu = function() {
if (ww < 1169) {
jQuery(".toggleMenu").css("display", "block");
if (!jQuery(".toggleMenu").hasClass("active")) {
jQuery(".nav").hide();
} else {
jQuery(".nav").show();
}
jQuery(".nav li").unbind('mouseenter mouseleave');
} else {
jQuery(".toggleMenu").css("display", "none");
jQuery(".nav").show();
jQuery(".nav li").removeClass("hover");
jQuery(".nav li a").unbind('click');
jQuery(".nav li").unbind('mouseenter mouseleave').bind('mouseenter mouseleave', function() {
jQuery(this).toggleClass('hover');
});
}
}
jQuery(window).scroll(function() {
jQuery('.services-wrap').each(function(){
var imagePos = jQuery(this).offset().top;
var topOfWindow = jQuery(window).scrollTop();
if (imagePos < topOfWindow+400) {
jQuery(this).addClass("fadeIn");
}
});
jQuery('.welcome-wrap').each(function(){
var imagePos = jQuery(this).offset().top;
var topOfWindow = jQuery(window).scrollTop();
if (imagePos < topOfWindow+400) {
jQuery(this).addClass("fadeIn");
}
});
});
jQuery(document).ready(function() {
jQuery('.srchicon').click(function() {
jQuery('.searchtop').toggle();
jQuery('.topsocial').toggle();
});
});
jQuery(document).ready(function() {
jQuery('h2.section_title, .cols-4 h5, h1.entry-title, h2.heading, h3.widget-title').each(function(index, element) {
var heading = jQuery(element);
var word_array, last_word, first_part;
word_array = heading.html().split(/\s+/); // split on spaces
last_word = word_array.pop(); // pop the last word
first_part = word_array.join(' '); // rejoin the first words together
heading.html([first_part, ' <span>', last_word, '</span>'].join(''));
});
});
Regards,
Brad
Sonal S Sinha Moderator
Topics: 0 Replies: 31271 Total: 31271
Member since: August 16, 2013
Hi Laurent,
There isn’t any footer tab in the theme. If you add anything in appearance>widgets>footer widget 1,2,3 and 4 respectively they will replace the default ones present there.
Regards,
Brad
Chris Member
Member since: April 27, 2016
Hi,
i actually installed the White Pro Theme and now i am wondering there is no option to create Services equal to Testimonials or Team Member. Is there any need to install something additional
Cheers
Sonal S Sinha Moderator
Topics: 0 Replies: 31271 Total: 31271
Member since: August 16, 2013
Hi Ismael,
Kindly go to Appearance>>Theme Option>>Basic Setting>>Custom CSS Box
Add this code there:
.widget-left li a{font-size:16px !important;}
Regards,
Brad
Dustin Member
Member since: April 20, 2016
Hello,
I am currently using your pro theme @ http://valleysleepdoctor.com – however, when I add my twitter code… or anything to the footer section under “Theme Options” it has no effect. I can remove the header but what displays in the widget is hard wired.
Sonal S Sinha Moderator
Topics: 0 Replies: 31271 Total: 31271
Member since: August 16, 2013
Hi Jonathan,
Kindly go to Appearance>>Customize>>Custom CSS Box
Add this code there:
.site-aligner .widget-column:nth-child(3n+3){display:none;}
#footer .widget-column{ width:29%;}
Regards,
Brad
Sonal S Sinha Moderator
Topics: 0 Replies: 31271 Total: 31271
Member since: August 16, 2013
Hi Stephen,
Kindly go to Appereance>>Theme Option>>Basic Setting>>Custom CSS Box
Add this code there:
body.home section h3, section, .accordion-box, h3.widget-title{border:none !important;}
Regards,
Brad
Sonal S Sinha Moderator
Topics: 0 Replies: 31271 Total: 31271
Member since: August 16, 2013
Hi Tarsem,
If you want to hide entire widget area then add this code in custom css box:
#footer{display:none;}
Regards,
Brad
Sonal S Sinha Moderator
Topics: 0 Replies: 31271 Total: 31271
Member since: August 16, 2013
Hi Tarsem,
You can change the size of the widget by adding this code in Custom CSS Box
#footer aside.widget.first{width:30% !important;}
#footer aside.widget.second{width:30% !important;}
#footer aside.widget.third{width:30% !important;}
#footer aside.widget.last{width:20% !important;}
Regards,
Brad
Sonal S Sinha Moderator
Topics: 0 Replies: 31271 Total: 31271
Member since: August 16, 2013
Hi Megha,
Kindly install php widget. So instead of text widget drag php widget in sidebar main and add this code in php widget.
<?php echo do_shortcode('
[skill title="Coding" percent="90" bgcolor="#ff8a00"]
[skill title="WordPress" percent="80" bgcolor="#ff8a00"]
[skill title="Php" percent="90" bgcolor="#ff8a00"]
[skill title="SEO" percent="90" bgcolor="#ff8a00"]
'); ?>
Regards,
Dave
Gamalier Member
Member since: April 17, 2016
After I update to pro it gave me a error
Fatal error: Cannot redeclare excerpt() (previously declared in wp-content/plugins/addon-so-widgets-bundle/addon-so-widgets-bundle.php:168) in /wp-content/themes/skt-healing-touch-pro/functions.php on line 593
Sonal S Sinha Keymaster
Topics: 10 Replies: 6995 Total: 7005
Member since: June 12, 2013
Hi Wesley,
Footer is widgetized.
So you can remove default footer widget in any of the column and add your own content.
This video might help:
How to set up own widgets and remove default footer widgets: https://www.youtube.com/watch?v=4a1cR34OGMU
Regards,
Shri
Sonal S Sinha Moderator
Topics: 0 Replies: 31271 Total: 31271
Member since: August 16, 2013
Hi Jonathan,
Kindly go to Appereance>>Theme Option>>Basic Setting>>Custom CSS Box
Add this code:
.section-title, .team-title, .blog-post-repeat, #sidebar aside h3.widget-title{border-bottom:none !important;}
In the homepage content section use <br /> tag instead of <hr> tag.
Regards,
Brad
Sonal S Sinha Moderator
Topics: 0 Replies: 31271 Total: 31271
Member since: August 16, 2013
Hi Keith,
Kindly go to Appereance>>Theme Option>>Basic Setting>>Custom CSS Box
Add this code there:
aside.widget{padding:0 !important;}
.form11 .wdform_page{padding-left:15px !important;}
.form11 .wdform-page-and-images{padding-left:0 !important;}
Regards,
Brad
michelle Member
Member since: February 24, 2016
Hello,
I have SKT GIRLIE PRO & woocommerce installed – everything looks great except the reviews under the product image. The ‘description’ tab shows up fine but theres no additional tab for reviews, I have left a review through the admin – but this is without the stars, and still it doesn’t show up.
In the sidebar ‘review’ woocommerce widget for reviews, the reviews don’t display either. i’d love the reviews and the option to leave a review on each product. I have all the settings correct in woocommerce.
thank you