• Closed
  • Michael Gordon
    Spectator
    January 9, 2014 at 2:16 pm #8220

    Hello, I am having an issue with my child theme. It seems that style.css file is not overriding the parent theme. I created a footer.php file and it displays just fine.

    Am I missing something?

    Roman
    Member
    Posts: 3147
    January 9, 2014 at 3:35 pm #8915

    what’s your website and how did you implement the child CSS file?

    Michael Gordon
    Spectator
    Posts: 8
    January 9, 2014 at 5:30 pm #8916

    http://archedevelopmentserver.com/template/

    I implemented it according to http://codex.wordpress.org/Child_Themes

    Currently I am just adding to the parent style sheet.

    Roman
    Member
    Posts: 3147
    January 10, 2014 at 9:27 am #8918

    are you using this in the child theme CSS?

    Code:
    @import url(‘../evolve/style.css’);
    Michael Gordon
    Spectator
    Posts: 8
    January 10, 2014 at 2:51 pm #8920

    yes I am

    Roman
    Member
    Posts: 3147
    January 10, 2014 at 9:05 pm #8922

    have you added any CSS customizations?

    Michael Gordon
    Spectator
    Posts: 8
    January 10, 2014 at 9:24 pm #8925

    In short yes…

    The client is currently looking at the development of this site – so in order to make them happy I have been editing the base file in the parent theme. However I know this will be over written with an update. Thus the overall change of the site.
    The file with the major changes in it http://archedevelopmentserver.com/template/wp-content/themes/evolve/library/media/css/base.css

    But I have made alterations to the css file in my child (text should be red for one)
    http://archedevelopmentserver.com/template/wp-content/themes/evolve-child/style.css
    None of the changes here are taking – it does not ever show up on the “view source” of the site.

    Code:
    <link rel=’stylesheet’ id=’maincss-css’ href=’http://archedevelopmentserver.com/template/wp-content/themes/evolve/style.css?ver=3.8&#8242; type=’text/css’ media=’all’ />

    This is the code for the style sheet that it seems to be using.

    Roman
    Member
    Posts: 3147
    January 11, 2014 at 10:06 am #8928

    I found the bug, please edit this file evolve/library/functions/functions.php, line # 102, change it to:

    Code:
    wp_register_style(‘maincss’, get_stylesheet_uri(), false);

    this will be fixed in the next theme version

    Michael Gordon
    Spectator
    Posts: 8
    January 13, 2014 at 4:24 pm #8941

    Thank you for all your assistance Roman.