• Resolved hivewarrior

    (@hivewarrior)


    Hi there!

    When I try to use a child theme for Regina Lite, all my customization changes disappear!

    Regina Lite dont support child themes?

    Thank you for your kind attention!

    Hive Warrior

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter hivewarrior

    (@hivewarrior)

    I guess I screw it up. I should have activate the child theme BEFORE made all the changes … Im making the customization with the child theme active and swapping to the parent theme for testing purposes, and all the changes are saved now.

    I think my problem is solved!

    Ion Rutz

    (@ionrutz_machothemes)

    Hello,

    That’s great news and the way forward.

    Let me know if there’s anything else I can assist you with.

    Regards

    Thread Starter hivewarrior

    (@hivewarrior)

    Hi Ion

    Thank you for your support!

    I wonder if there is a way to build a full width page template to input content. I have tried creating a new template based on page.php and removed the sidebar but the content remains constrained to the space used by the sidebar…

    Also, the style.css misses a lot of the code from the theme. I found another file in the layout/css folder (styles.css) that have some of the missing data.
    I guess I have to edit the two files im my child theme folder.

    Thank you for your time!

    Best Regards

    Ion Rutz

    (@ionrutz_machothemes)

    Hello,

    The way forward would be to locate all the styling and maybe overwrite it by using it at the end of the style.css main child theme file.

    About the layout, you should check out the styling as well, but most probably you just need to change the col-md-7 to col-md-12 and something similar to get the full-width layout.

    I hope this gets your forward with the design.

    Best regards

    I found a problem with the child theme – it does not use the new style.css in the child folder until you change:

    wp_enqueue_style( 'regina-lite-style', get_template_directory_uri() . '/style.css' );

    on

    wp_enqueue_style( 'regina-lite-style', get_stylesheet_uri() );

    in function.php. I think this may affect other files too.

    Ion Rutz

    (@ionrutz_machothemes)

    Hello @alferus,

    Thank you for pointing this out!

    Regards

    Thanks for the tip @alferus. I could not get the child theme to update any styling until I added a function.php to the child folder with this line:

    wp_enqueue_style( ‘regina-lite-style’, get_stylesheet_uri() );

    Now it works

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Child Theme’ is closed to new replies.