1) Install it like you install the any theme via the Theme menu of ftp .
2) If you do not plan to customize the theme significantly. No need for it.
3) The purpose of the child theme is to extend the parent theme functionality , to add in additional code that does not get overwritten when you make an update to the theme.
i had edited the init.js files only to change side scroll bar color to orange, our company color. \
i also added this to the fuctions.php
function remove_woocommerce_tag() { remove_action('wp_head',array($GLOBALS['woocommerce'], 'generator')); }add_action('get_header','remove_woocommerce_tag'); add_filter('woocommerce_login_redirect', 'ras_login_redirect'); function ras_login_redirect( $redirect_to ) { $redirect_to = '/shop'; return $redirect_to; }
my qestion is can i add the alterations i metioned above to the childtheme ?
if so this will totally help me out because everytime you update i have to manually do this and i hate it but love my alterations and your awesome theme of course!
PS thanks for your help sir. your theme ROCKS!!!!!!!!!!!!!!!!!
Yes you can though the color of the scrollbar would need to be changed via css not altering the init.js file and then placing that css in the child theme style.css . The code you added in functions.php can also be added in the child theme functions.php. For more info on child theme please see : http://codex.wordpress.org/Child_Themes .
The dynamic css file is use to put all the css code into one file so that it is easier for the site to load all css , it also helps in reducing site load times. If you dont wish to use it you can turn that option off in Salient Options page.
I just installed and activated the Child Theme. And my website is still there. Are all pages, html and css that I made in the 'main' theme now copied to the Child Theme?
1> how do i install the child theme.?
2> do i need to install the child theme?
3> what is the purpose of the child theme
Hey!
1) Install it like you install the any theme via the Theme menu of ftp .
2) If you do not plan to customize the theme significantly. No need for it.
3) The purpose of the child theme is to extend the parent theme functionality , to add in additional code that does not get overwritten when you make an update to the theme.
Thanks
ThemeNectar Support Team
WOW! Excellent
let me get this straight in my head
i had edited the init.js files only to change side scroll bar color to orange, our company color. \
i also added this to the fuctions.php
function remove_woocommerce_tag() {
remove_action('wp_head',array($GLOBALS['woocommerce'], 'generator'));
}add_action('get_header','remove_woocommerce_tag');
add_filter('woocommerce_login_redirect', 'ras_login_redirect');
function ras_login_redirect( $redirect_to ) {
$redirect_to = '/shop';
return $redirect_to;
}
my qestion is can i add the alterations i metioned above to the childtheme ?
if so this will totally help me out because everytime you update i have to manually do this and i hate it but love my alterations and your awesome theme of course!
PS thanks for your help sir. your theme ROCKS!!!!!!!!!!!!!!!!!
Hey Again!
Yes you can though the color of the scrollbar would need to be changed via css not altering the init.js file and then placing that css in the child theme style.css . The code you added in functions.php can also be added in the child theme functions.php. For more info on child theme please see : http://codex.wordpress.org/Child_Themes .
Thanks
ThemeNectar Support Team
what is this for dynamic-combined.css?
what is the difference between dynamic-combined.css vs style.css in the child theme?
Hey Philip!
The dynamic css file is use to put all the css code into one file so that it is easier for the site to load all css , it also helps in reducing site load times. If you dont wish to use it you can turn that option off in Salient Options page.
Cheers
ThemeNectar Support Team
i put this in the style.css in the child theme.
but it is not changing the color.
i used to manually put alter the init.js to achieve this.
can you tell me what i am doing wrong?
Hey Philip!
It doesnt work like that. You can place Js code inside a .css file. Add this into the Custom CSS box located in your Salient Options panel :
Cheers
ThemeNectar Support Team
AWESOME! thanks AWESOME! thanks AWESOME! thanks
now i can update with ease
i am very happy
cheers
i think if you made your them have an "inverted color version" or a color chooser for BG & Text for novices might be nice
check out my site now http://420KushClean.com
cheers
truely thanks buddy
you are way smarted and better than me at this
thanks
humbly
philip
Thanks for suggestions.
Cheers
ThemeNectar Support Team
Hi Tahir,
I build my site with the 'main' theme. I understand the need for using a child theme. How can I start using my 'main' theme as a child theme?
Regards
Daniel
Hey Again,
Simply install the Child Theme thats provided on Themeforest Download Page "All Files & Documentation " Zip Package .
Thanks
ThemeNectar Support Team
Hi Tahir,
I just installed and activated the Child Theme. And my website is still there. Are all pages, html and css that I made in the 'main' theme now copied to the Child Theme?
Regards.
Daniel
It doesnt work like that . Please have a look at this url : https://codex.wordpress.org/Child_Themes .
Thanks
ThemeNectar Support Team