WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Theme: Twenty Fourteen] Can't get child theme CSS to work (4 posts)

  1. hregalis
    Member
    Posted 4 months ago #

    I made a child theme of Twenty Fourteen using the plugin One-Click Child Theme. The child theme I made is the active theme, I still have the parent theme installed, and template files I've made in the child theme's directory work, but I can't get the style sheet to work. I pasted some of the same CSS into the parent theme's style sheet and it works there.

    When I do View Page Source in Firefox, my child theme's style.css doesn't show up in the header, but I can't figure out how to get it to be there.

    Website: http://www.iuan.community-food.org/

    Any help would be much appreciated!

  2. hregalis
    Member
    Posted 4 months ago #

    Aaaaaand answered my own question. I made a second child theme manually and that one works, so it looks like something went wrong with the plugin I was using.

  3. hregalis
    Member
    Posted 4 months ago #

    Or not. After this, I changed the CSS I had in the child theme, but the changes don't show up. It still shows the old CSS I had in the child theme. If I go to View Page Source, it looks like this:

    <style id='twentyfourteen-style-css' media='all'>@import url(/wp-content/themes/twentyfourteen/style.css) ;a{color:#24890d;background-color:#24890d!important}h1.entry-title{font-weight:bold}</style>

    I disabled all the plugins I had active but it's still like that. I cleared my browser cache and also tried it in different browsers and on my phone, but no luck. If I reactivate Twenty Fourteen, it goes away.

  4. hregalis
    Member
    Posted 4 months ago #

    Think I figured it out this time. I had Google PageSpeed enabled for this site, so I disabled that and now the child theme's CSS is working correctly.

Reply

You must log in to post.

About this Topic