Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: child theme no longer working

  1. #1
    Thread Starter
    Expired Customer cajsoft's Avatar
    Join Date
    Jul 2017
    Location
    UK
    Posts
    58
    Thanks
    2
    Thanked 1 Time in 1 Post

    child theme no longer working

    Hi, since upgrading to 1.4.1 I'm having issues with my child theme... the colors are fine, but the buttons and search box are styled wrongly and menu has gone.

    here's what I have in my functions.php

    Code:
    add_action( 'wp_enqueue_scripts', '_my_child_theme_styles' );
    
    /**
     * Enqueue parent theme styles considering styles dependencies.
     */
    function _my_child_theme_styles() {
    
    
        // Parent styles that need to be loaded before the child theme styles. Replace 'modern.css' with the parent style you're using.
        $parent_styles = array(  'parent_style_1' => 'style.css', 'parent_style_2' => 'styles/dark.css' );
    
        // Enqueue parent styles using the custom handles and considering styles dependencies.
        foreach( $parent_styles as $handle => $style ) {
           wp_enqueue_style( $handle, get_template_directory_uri() . '/' . $style, array( 'hrb-normalize', 'hrb-foundation' ) );
        }
    
        
        wp_enqueue_style( 'child-style',
            get_stylesheet_directory_uri() . '/style.css',
            array_keys( $parent_styles )
        );
    
        
    
    }

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    41,006
    Thanks
    170
    Thanked 3,409 Times in 3,280 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. #3
    Thread Starter
    Expired Customer cajsoft's Avatar
    Join Date
    Jul 2017
    Location
    UK
    Posts
    58
    Thanks
    2
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    41,006
    Thanks
    170
    Thanked 3,409 Times in 3,280 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  5. #5
    Thread Starter
    Expired Customer cajsoft's Avatar
    Join Date
    Jul 2017
    Location
    UK
    Posts
    58
    Thanks
    2
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    41,006
    Thanks
    170
    Thanked 3,409 Times in 3,280 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  7. #7
    Thread Starter
    Expired Customer cajsoft's Avatar
    Join Date
    Jul 2017
    Location
    UK
    Posts
    58
    Thanks
    2
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #8
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    41,006
    Thanks
    170
    Thanked 3,409 Times in 3,280 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  9. #9
    Thread Starter
    Expired Customer cajsoft's Avatar
    Join Date
    Jul 2017
    Location
    UK
    Posts
    58
    Thanks
    2
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  10. #10
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    41,006
    Thanks
    170
    Thanked 3,409 Times in 3,280 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Child theme, no longer?
    By dylant1apptheme7 in forum Vantage General Discussion (Legacy)
    Replies: 0
    Last Post: January 26th, 2016, 07:18 PM
  2. Samcy Child theme no longer works after upgrade
    By harry0013 in forum Report ClassiPress Bugs
    Replies: 5
    Last Post: September 10th, 2015, 09:04 AM
  3. theme-footer.php not working in child theme
    By fuzegraphics in forum Report ClassiPress Bugs
    Replies: 4
    Last Post: May 7th, 2013, 09:52 AM
  4. Jomark 1.6.5. Child theme no longer working
    By sicking in forum Report JobRoller Bugs
    Replies: 2
    Last Post: January 21st, 2013, 11:49 AM
  5. theme-functions.php not working inside child theme folder
    By jobortunity in forum JobRoller General Discussion
    Replies: 6
    Last Post: November 6th, 2012, 04:24 AM