Trying to use aChild template; coming through without orig css... (2 posts)

  1. greenpeas
    Posted 5 years ago #

    I am trying to set up a child theme to make adjustments.

    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!

  2. greenpeas
    Posted 5 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic