WordPress.org

Ready to get started?Download WordPress

Forums

Child Theme creation issue (1 post)

  1. ASCap
    Member
    Posted 3 months ago #

    Hello,

    I am trying to create a child theme of TwentyEleven. I have created a folder in the same "themes" directory called twentyeleven-child and added the required stylesheet. Here's what I have in there so far:

    /*
     Theme Name:   Twenty Eleven Child
     Theme URI:    http://alexcapmusic.com/twentyeleven-child/
     Description:  Twenty Eleven Child Theme
     Author:       Alex Cap
     Author URI:   http://alexcapmusic.com
     Template:     twentyeleven
     Version:      1.0.0
     Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
     Text Domain:  twenty-eleven-child
    */
    
    @import url("../twentyeleven/style.css");

    However, when I try to live preview the child theme (which appears as an option in my wordpress dashboard), there is no styling at all! Am I doing something wrong?

    I have a separate style sheet in another directory that I've been linking to in each individual page to override some default styling, but even when I break the link, the live preview still appears without the styles of twentyeleven.

    Thanks if anyone can help out/help me troubleshoot!

Reply

You must log in to post.

About this Topic