WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Theme: Twenty Fourteen] child style doesn't work (8 posts)

  1. PPNSteve
    Member
    Posted 3 months ago #

    Creating a child style of twentyfourteen and for some reason the child's stylesheet isn't loading at all.

    I've done the proper child theme creation and added a few simple css entries:

    /*
    Theme Name: YuGiOh! World 2014
    Theme URI: http://www.yugioh-world.com
    Description: YuGiOh! World 2014 Theme (based on twentyfourteen)
    Author: PPN Studio
    Author URI: http://www.ppnstudio.com
    Version: 1.0.0
    Template: twentyfourteen
    
    */
    
    @import url("../twentyfourteen/style.css");
    
    /* Theme customization starts here */
    
    /* ----------- MAIN --------------*/
    
    .site {
    margin: 0 auto !important;
    }
    
    /* ----------- SIDEBARS and WIDGETS --------------*/
    
    .widget .widget-title {
      background: none repeat scroll 0 0 #CE002D !important;
      text-transform: uppercase;
    }
    
    h1.widget-title {
      background: none repeat scroll 0 0 #CE002D !important;
    }

    test url: http://www.1-gb.us/dev/yugioh-world/
    Any ideas why the child style isn't working/loading here?

    thanks in advance everyone.

  2. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 3 months ago #

    Try adding this:

    body {
     border: 10px solid red !important;
    }

    Does that work?

  3. PPNSteve
    Member
    Posted 3 months ago #

    Nope.

    It doesn't work. I can't even see the child style css file being loaded in the source code (view source or via firebug)

    Yes, I did a hard refresh [ctrl+F5] and have no cache plugins activated.

  4. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 3 months ago #

    I see a 10px red border on your website, maybe try another browser?

  5. esmi
    Theme Diva & Forum Moderator
    Posted 3 months ago #

    It's working for me.

  6. PPNSteve
    Member
    Posted 3 months ago #

    Strange.. Ok it loaded with the border and my edits after yet another refresh.. Is there a default cache time here messing with me?

    now I removed the border and it's still showing after a number of ctrl+F5's

  7. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 3 months ago #

    Try clearing the cache through the browser's settings.

    I'm guessing your issue is now resolved?

  8. PPNSteve
    Member
    Posted 3 months ago #

    It was a cdn (cloudflare) the the parent domain was using.. set it to dev mode and all is proper now.

    Thanks for your help and everything.

    Resolved.

Reply

You must log in to post.

About this Topic