Support » Themes and Templates » @import not working for me

  • Resolved SprialOwner


    I am trying to make my first child theme and the @import function isn’t working for me when I’m trying to import the styles of the parent theme. Here is what I have written in my CSS style sheet:


    Theme Name: Child of Twenty Twelve
    Description: Child Theme for Importing Democracy’s Blog based on Twenty Twelve Theme
    Author: Kathy Fisher
    Version: 1.0
    Template: twentytwelve


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

    My style sheet was created in Dreamweaver. Both the twentytwelve folder and the childoftwentytwelve folders are in the themes folder. Any suggestions? I’ve tried viewing it in Safari and Chrome. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You have curly quotes in that URL – those are problematic. A plain text editor might be better than DW.

    Thank you, WPyogi! That worked! I’ll be using Text Wrangler instead of DW when I need to do anything with WP.

    Thank you! Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘@import not working for me’ is closed to new replies.