• Hi,
    So I’m trying to build my first child theme, it’s a child of the Oxygen theme, in this case. I’m going through both Lynda.com, (building child themes) and WordPress Codex tutorials on the same subject. I’m following the process to the letter, uploading a new folder with a new css style file in my FTP manager, when I log into my website dashboard, sure enough the child theme is there as a theme choice, but the parent theme stylesheet is not taking effect, even after loading this line snippet:

    @import url(‘../oxygen/style.css’);

    into the style.css file of the new child theme. When Morten Rand Hendricksen, (Lynda Instructor) refreshes his dashboard after adding this line, he gets his new child theme to appear as an exact replica of it’s parent, I, on the other hand, am not having such luck. My new child theme loads with no attached styles, (except, oddly, the original Oxygen font styles, but I’m not getting columnized footers or any other style features that should be loading.

    WHY????? (yes, I’ve tried logging out an in again and erasing the cache!)

    One more thing, I actually tried this child theme approach off of two parents themes, Oxygen and Hybrid, no luck with either.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You’re using curly quotes – those are problematic sometimes. Did you use a plain text editor to make that file?

    ‘../oxygen/style.css’

    See the difference between the above and

    '  '

    Thread Starter etravert

    (@etravert)

    I’ll take another look – how funny! I used the plain text editor that pops up in godaddy’s FTP file manager. I created a new folder for the name of the new child theme, then clicked on ‘new file’ and a plain text editor popped up for me, so I used that. I have text wrangler on my mac, would it behoove me to make it in that and then upload that to the FTP?

    Thread Starter etravert

    (@etravert)

    Ok, so NO, the quotes are not curly, but here’s another question or discrepancy I did find. Morten, the Lynda instructor uses single quotes:

    @import url(‘../hybrid/style.css’);

    and the WP codex tutorial uses double:

    @import url(“../hybrid/style.css”);

    I tried both, none worked.
    ?????

    I have text wrangler on my mac, would it behoove me to make it in that and then upload that to the FTP?

    Yes, I’d suggest you do that – I’ve seen many people have problems when trying to create files in FTP or Cpanel editors.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘New Child Theme – Parent Styles not Loading With’ is closed to new replies.