William GibsonMember
- Topics: 2
- Replies: 8
- Total: 10
Member since: October 21, 2015
Your welcome. I knew there was post-thumb code in there somewhere, I just had to find it. LOL
I’m using a child-theme, so it was only a matter of copying over the content-single.php to the child theme folder and then edit it there. If it broke anything, I only needed to delete the copied file.
MattMember
Member since: May 2, 2016
Hi,
Having issues with the top header and the size it’s wanting to resolve.
http://www.casperszpsychology.com.au
Since upgrading to Pro it has increased two-fold so basically has twice it’s supposed depth to original, as can be seen. I wish to halve its depth so that the top search bar matches it. I am using a child theme and have attempted to fix with no luck.
Thanks,
Matt
Sonal S SinhaModerator
- Topics: 0
- Replies: 31338
- Total: 31338
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 SinhaModerator
- Topics: 0
- Replies: 31338
- Total: 31338
Member since: August 16, 2013
Hi Patrick,
This error might be due to creation of wrong child theme.
Kindly show us your website URL.
Regards,
Dave
Sonal S SinhaKeymaster
- Topics: 10
- Replies: 6995
- Total: 7005
Member since: June 12, 2013
It uses the theme name from options.php
But i would like to know why you would need child theme in the first place? We have given custom CSS box already within theme options panel so no need for child theme.
Regards,
Shri
PatrickMember
Member since: April 18, 2016
Hi,
I need to add some page templates and would like to do this in a child theme.
When I create the child theme and copy the data from the wp-options table, it is ignored and I am given the default configuration.
Is there anyway to fix this?
VictorParticipant
Member since: February 1, 2016
Hello,
I am starting a new web with the complete theme, pro version, all work fine until I tested it on an Ipad. With it in horitzontal position the menu still a bar as in the computer but the sub menus, childs of the buttons doesnt appear.
In vertical position the menu change to mobile version so it works fine.
How can I solve this? Can you help me please?
Thank’s in advance.
KarenMember
Member since: December 3, 2015
Our website, http://www.children-first.org/, uses the restaurant theme. In the section on the home page that is setup for testimonials we have our 40 assets. Right now, only 9 rotate through. What or where can we change the code to allow all 40 to be able to rotate randomly?
NicholasMember
- Topics: 1
- Replies: 1
- Total: 2
Member since: April 9, 2016
It’s not just the CSS that I need the Child Theme for. It’s for modification to WooCommerce, so yes, I do need a child theme in this case.
Sonal S SinhaKeymaster
- Topics: 10
- Replies: 6995
- Total: 7005
Member since: June 12, 2013
Hi Nicholas,
There is no need to create a child theme. You may kindly use Custom CSS box for posting Custom CSS.
Then any updates done to the theme remain even if theme is updated.
Regards,
Shri
NicholasMember
Member since: April 9, 2016
I am having some issues with setting up a Child theme for the Girlie Pro theme I just purchased. I currently have the Child theme installed. However, when I activate it, it doesn’t look right at all. I know how to install a Child theme with ease, however, something doesn’t seem right.
Has anyone have this issue? Or could it be another plugin conflicting with it?
Hi,
I would like to change the color of the headings (h1, h2, h3…) in the content area.
Is there any easy way of doing so with Custom CSS? Or do I need to create a childtheme?
Sonal S SinhaModerator
- Topics: 0
- Replies: 31338
- Total: 31338
Member since: August 16, 2013
Hi Jeroen,
Kindly go to Appereance>>Theme Option>>Basic Setting>>Custom CSS Box
Add this code there:
#footer aside.widget:nth-child(3) {border: medium none; margin-right: 0 !important; padding-right: 0;}
Regards,
Brad
GailParticipant
- Topics: 1
- Replies: 7
- Total: 8
Member since: March 5, 2016
Just to add to my comment above: We also lost all settings when switching from SKT BeFit Pro to a child theme of that Pro theme; and again when switching back from the child theme to the parent. As with the domain change, there was no change in the database during either of these switches.
I looked in the wp_options table. I did not find any option_name like “options_framework_befit-pro”. Instead I found rows with “option_name” equal to “skt_befit_pro”, “theme_mods_skt-befit-pro”, “skt_befit_pro_child”, and “theme_mods_skt-befit-pro-child”. So that would explain why switching to a child theme, for the first time, would lose all my settings. (It does not however, explain why I also lost settings when switching back to the parent theme. Perhaps I had changed the domain name between switching to child theme and switching back to parent theme.)
In the row with option_name = “theme_mods_skt-befit-pro”, there was a relatively short list of 7 settings, with no domain names:
a:3:{i:0;b:0;s:18:”nav_menu_locations”;a:1:{s:7:”primary”;i:3;}s:16:”header_textcolor”;s:3:”fff”;}
However, in the row with option_name = “skt_befit_pro”, there was a long list of options, in a similar format, that included the domain name several times. For example:
a:208:{s:4:”logo”;s:85:”http://myhostname.dtdns.net:8000/demo3/wp-content/uploads/2016/03/PMAmockLogo-1.png”;s:10: …
It appears that “s” stands for string and the number after the “s:” is the length of the following string.
So it is not enough to simply copy that table.
It is also not enough to simply update the table using the SQL function REPLACE(option_value, “old_domain”, “new_domain”).
You also have to adjust the string length number (85 in this example) if the length of the domain name changes.
We need an easier way to migrate a web site using this theme.
MatthiasMember
- Topics: 4
- Replies: 14
- Total: 18
Member since: January 19, 2016
Hello Shri,
I have still the problem that my homepage is in german but in the sliders and in the blue home boxes I have “Read More” buttons in english. You wrote that you plan to update the theme but I didn’t got a update notification by now.
1. Will there be an update soon or can I change the buttons otherwise?
2. I have a child theme. Will an update of the theme work with a child theme? Will the changes made to “Custom CSS” get lost after an update?
Best Regards
Matthias