[resolved] @import not working for me (3 posts)

  1. SprialOwner
    Posted 2 years ago #

    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!

  2. WPyogi
    Forum Moderator
    Posted 2 years ago #

    You have curly quotes in that URL - those are problematic. A plain text editor might be better than DW.

  3. SprialOwner
    Posted 2 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic