• Hey guys,

    I’ve followed the directions for creating a child’s theme in wordpress for the TwentyThirteen theme, but it’s just not working.

    I created a folder under themes called “twenty thirteen-child” wherein I put a style.css file with the following code

    @import url("../twentythirteen/style.css");
    
    /*
    Theme Name: Twenty Thirteen Child
    Theme URI: http: //michaelpitluk.com/twentythirteen-child
    Description: Twenty Thirteen Child Theme
    Author: Michael Pitluk
    Author URI: http: //michaelpitluk.com/
    Template: twentythirteen
    Version: 0.1
    */

    I activated my theme, but the css is not read, nor is the css of the parent template read — at least in Safari. In Chrome, the original css styling remains, but when I change style.css under my child theme it has no effect on the page.

    My website is michaelpitluk.com.

    Any help would be greatly appreciated. Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Clear and turn off your caching plugin.

    Thread Starter michaelpitluk

    (@michaelpitluk)

    Ok, I’ll try that, thanks. I was reading a bunch of articles and they said to set up a caching plugin when setting up your wordpress site. Is there a downside to not having the caching plugin active? I’m still not sure what caching even is lol

    Thread Starter michaelpitluk

    (@michaelpitluk)

    Awesome! That worked! I’m curious — why did that work? What was going on? Thanks!

    How large is your site? How many Posts & Pages?

    /*
     Theme Name:     Twenty Thirteen Child
     Theme URI:      https://example.com/twenty-thirteen-child/
     Description:    Twenty Thirteen Child Theme
     Author:         John Doe
     Author URI:     https://example.com
     Template:       twentythirteen
     Version:        1.0.0
    */
    
    @import url("../twentythirteen/style.css");
    
    /* =Theme customization starts here

    Try this in style.css for child theme you have
    @import url(“../twentythirteen/style.css”);

    at top

    Don’t use a caching plugin when you are working on a site – it prevents changes from showing up.

    See: https://en.wikipedia.org/wiki/Web_cache

    Thread Starter michaelpitluk

    (@michaelpitluk)

    @esmi – It’s a small site, but I have several links to soundcloud. No posts. But maybe 20 pages or so.

    @govpatel – I tried it on top and on bottom, but it wasn’t changing. It works either way.

    It’s was the caching plugin like WPyogi suggested.

    Thanks for the help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Child Theme isn't working for TwentyThirteen’ is closed to new replies.