Child Theme breaks if I make any changes (4 posts)

  1. mmdm
    Posted 2 years ago #

    I've set up a child theme but if I add anything to the style.css, the theme breaks. Here is the code I am trying to use to change the page title text. If I take out everything below the @import line, the theme works again but anything I add below there breaks it. What am I doing wrong?

    Theme Name: Twenty Eleven Child
    Version: 1.0
    Description: A child theme of Twenty Eleven
    Template: twentyeleven

    @import url("../twentyeleven/style.css")

    .singular .entry-title {
    font-size: 26px;
    font-weight: normal;
    line-height: 30px;

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    your @import is missing it's semi colon

    @import url ("../twentyeleven/style.css");
  3. Michael
    Part-Time Forum Moderator
    Posted 2 years ago #

    make sure to add a semicolon at the end of this line:

    @import url("../twentyeleven/style.css");


  4. mmdm
    Posted 2 years ago #

    Thanks, guys! I must have accidentally deleted it while I was editing it. I stared at it for so long and just couldn't see it. Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.