Home Forums Product Support Andersen Problem with the child theme

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #3033
    Anke
    Participant

    I use the Andersen Version: 1.0.1. The child theme style.css looks so:

    /*
    Theme Name: Andersen Child
    Theme URI: 
    Description: A child theme for Andersen
    Version: 0.1
    Author: Nick Haskins
    Author URI: https://nickhaskins.com
    Template: andersen
    */
    @import url('../andersen/assets/css/style.css');

    So it does not work. The requested page has no layout. 🙁

    #3045
    Jenny @ Aesop
    Keymaster

    Change the ' in the import statement to " and see if that fixes it. The child theme bug for Andersen was fixed in 1.0.1 I believe.

    Let me know! 🙂

    #3051
    Anke
    Participant

    This does not work well 🙁

    #3068
    Jenny @ Aesop
    Keymaster

    Okay it looks like there was a small bug in the code so we’ll get this fixed in the next update.

    If you want to update manually, go to /wp-content/themes/andersen/inc/scripts.php

    Find Line 15:

    
    wp_enqueue_style('andersen-style', get_stylesheet_directory_uri().'/assets/css/style.css', 1.0, true);
    

    Change to:

    
    wp_enqueue_style('andersen-style', get_stylesheet_directory_uri().'/style.css', 1.0, true);
    

    Hope that works for ya!

    #3071
    Anke
    Participant

    The same error as in the jorgen theme. It works now fine. Thank you.

    #3085
    Jenny @ Aesop
    Keymaster

    You’re welcome!

    #3089
    Anke
    Participant

    But here arises the problem that I can not use the original Andersen theme, as here appears the page without layout.

    #3090
    Jenny @ Aesop
    Keymaster

    Hi Anke. I’ve done some playing around with this and uncovered a strange bug. I have logged it in our bug tracking system.

    In the meantime, delete the hex values in the Customizer for the background, text, and link colors, then save/publish. Screenshot: https://awesomescreenshot.com/0b737hce1e

    #3122
    Anke
    Participant

    Hi Jenny, I’ll wait for a new update. Thank you.

    #3149
    Jenny @ Aesop
    Keymaster

    You’re welcome 🙂

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.