Support » Theme: Twenty Thirteen » Child Theme Problems

  • Hi,

    Can you help me? I think my parent theme is loading after my child theme. I’ve tried the suggestions on the forum but its still not changing the nav bar colours specified in the child, even if add !important, which I know is not good practice but wanted to test it. My site is :amberleyschool.co.uk.

    My child theme:
    /*
    Theme Name: Twenty Thirteen Child
    Theme URI: http://amberleyschool.co.uk/wp-content/themes/twentythirteen_child/
    Description: Twenty Thirteen Child Theme
    Author: Tracey Vincent
    Author URI: http://amberleyschool.co.uk
    Template: twentythirteen
    Version: 1.0.0
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    */
    @import url(“../twentythirteen/style.css”);
    /* =Theme customization starts here */

    My functions.php:
    <?php
    function theme_enqueue_styles() {

    $parent_style = ‘twentythirteen’;

    wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ );
    wp_enqueue_style( ‘twentythirteen_child’,
    get_stylesheet_directory_uri() . ‘/style.css’,
    array( $parent_style )
    );
    }
    add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
    ?>
    Any ideas?

    Thank you

Viewing 1 replies (of 1 total)
  • Hi Can anyone help?

    I’ve inspected the element and its pointing to the parent .css. Ive gone through the code line by line, Tested it by taking out the import line, tried removing the functions.php, but its still picking up the parent for the menu options!!!

    What am I missing?
    Thanks
    Tracey

Viewing 1 replies (of 1 total)
  • The topic ‘Child Theme Problems’ is closed to new replies.