• Hi!

    I am a little proud that I managed to create the child theme for the wordpress website for a friend. Now that I want to integrate the style.css file, which worked out, it says that it is not there but in the css folder:

    Author: Qode Interactive
    Author URI: https://www.qodethemes.com/
    Version: 1.0.0
    License: GNU General Public License
    License URI: licence/GPL.txt
    */
    /*
    CSS changes can be made in files in the /css/ folder. This is a placeholder file required by WordPress, so do not delete it.
    */

    I found the folder through the ftp server in the admin folder. If I want to test new designs on the child theme, is it enough to simply copy the css folder and put it in my child folder? Another question is, why is it not in the style.css sheet? Is that because of the Strata Theme Options Plugin?

    Thanks so much in advance! I’m still learning and a little bit afraid to crash the whole page…

    Hanna

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,
    did you figure this out?
    can you tell me how?
    thank you

    Don’t forgot to enqueue parents css or simply import in child style.css file.

    <?php
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    function theme_enqueue_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    
    }
    ?>

    or

    @import url('../parent_theme_folder/style.css');

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Child Theme done but style.css is empty’ is closed to new replies.