WordPress.org

Support

Support » Themes and Templates » Trying to use aChild template; coming through without orig css…

Trying to use aChild template; coming through without orig css…

  • I am trying to set up a child theme to make adjustments.
    http://oaklandstructures.com/

    Just added a new folder in themes, and added a new style.css with the following:

    /*
    Theme Name: Oakland Child
    Theme URI: http://oaklandstructures.com/
    Description: A child theme of Twenty Ten for Oakland Structures.
    Author: D. Stembridge
    Author url: http://greenpeas.us
    Version: 1.0
    Tags: black, blue, white, fixed-width, custom-header, theme-options
    Template: twentyten
    */
    @import url(‘../twentyten/style.css’);

    Technically…. shouldn’t switching the theme pull directly from the original stylesheet without adding anything else?

    It will activate; but withut styling. Here’s an image of the activation window; It looks the same after activating; therefore I am holding off till I figure it out!

Viewing 1 replies (of 1 total)
  • Just saw the problem:

    from govpatel

    You have import wrong

    @import url('../twentyten/style.css');
    this what you have it should be

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

    Changing that causes the style to work; I did have to re upload the header image, as it wasn’t showing up. All good now!

Viewing 1 replies (of 1 total)
  • The topic ‘Trying to use aChild template; coming through without orig css…’ is closed to new replies.
Skip to toolbar