Topic Resolution: Resolved


Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
  • #1541

    Hi there,
    Could you detail the step to correctly install a Freshio child theme ? I know it can differ from one theme to another, could you specify the organisation of the files of the child theme folder, and the contents of style.css and functions.php in it ?
    Thank you.


    Hi there,

    Please try to read the document at:

    and :

    #1: All css custom for theme you can add into file style.css
    All function code php for theme, you can add into file function.php

    When you use child theme and add code into it, if you update parent theme, your custom code wouldn’t lose.


    Thanks for the answer. Yes I’ve already used child themes several times, if I follow along the WordPress developer docs it should be ok with Freshio ? No special aspect to take into consideration ? I prefer to ask because sometimes the usual way to intsall child theme won’t work with some themes.



    Hi again,

    Yes, our theme ready support child-theme. You can use child-theme to custom css and function code.


    Ok thank you again.


    Hello Billy,

    Should I let the the child theme functions.php file blank ? Does Freshio parent theme files load both parent’s and child’s stylesheets ? I don’t need to add PHP functions at the moment but just to be sure that stylesheets load correctly if I activate a child theme for custom CSS.

    I found theses lines of code in the class-main.php :
    * Enqueue child theme stylesheet.
    * A separate function is required as the child theme css needs to be enqueued _after_ the parent theme
    * primary css and the separate WooCommerce css.
    * @since 1.5.3
    public function child_scripts() {
    if (is_child_theme()) {
    $child_theme = wp_get_theme(get_stylesheet());
    wp_enqueue_style(‘freshio-child-style’, get_stylesheet_uri(), array(), $child_theme->get(‘Version’));


    Again, our theme ready support child-theme, you can add custom css in file style.css ( child-theme).
    If you need to help, please let me know.



    You didn’t answer to the question but that’s ok. I’m working for a client who chose your theme, I’ve implemented the child theme manually for custom code and I’m used to do it. But to do things correctly, and the WordPress docs link you gave me mentions it too in “3. Enqueue stylesheet”, the content of functions.php in child theme depends on how the parent theme works.
    The only thing I was asking here is the minimal content of style.css and functions.php in child theme when you implement it manually with Freshio.


    Oh, sorry.

    Please dowload child-theme at here: Child-theme Freshio


    Great, thank you Billy.

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.