Jevelin child style.css

Home Forums Jevelin Theme Jevelin child style.css

Home Forums Jevelin Theme Jevelin child style.css

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    RESOLVED Posts
  • Hello,

    I correctly installed the Jevelin theme & child theme provided.
    My functions.php in the child theme is working like expected, but not style.css (in jevelin-child). No changes are applied.
    It is not a caching problem or overwriting problem. It seems that style.css is simply not loaded.

    Thank you,
    Anke

    With some more research it seems I found a solution to this problem: in my functions.php of the child theme, I added:
    function enqueue_child_theme_style() {wp_enqueue_style( ‘child-style’, get_stylesheet_directory_uri().’/style.css’ );}
    add_action( ‘wp_enqueue_scripts’, ‘enqueue_child_theme_style’, 100 );

    To enqueue the child theme style.css.
    Maybe something to look into for other users?

    Hi there,

     

    Thank you.

    We will add this in the next update.

     

    Best regards,

    Shufflehound team

    Hi, I am facing same issue, but not able to load child css file even after adding given code.

    Here it is my file: <?php
    /**
    * Theme functions file
    */

    /**
    * Enqueue parent theme styles first
    * Replaces previous method using @import
    * <http://codex.wordpress.org/Child_Themes&gt;
    */

    add_action( ‘wp_enqueue_scripts’, ‘jevelin_enqueue_parent_style’, 99 );

    function jevelin_enqueue_parent_style() {
    wp_enqueue_style( ‘jevelin’, get_template_directory_uri().’/style.css’ );
    }

    /**
    * Add your custom functions below
    */
    add_action( ‘wp_enqueue_scripts’, ‘enqueue_child_theme_style’, 100 );

    function enqueue_child_theme_style() {
    wp_enqueue_style( ‘child-style’, get_stylesheet_directory_uri().’/style.css’ );
    }

    This issue should be fixed, you can test it bellow:


    Please login to access this file

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