• Resolved Dr. Ashok Koparday

    (@drashok)


    Hi acosmin,
    Greetings.

    I wish to get the same CSS changes on JustWrite that I have been using through childtheme for twentytwelve.

    I don’t know why this is eluding me even after 7 days of trying. With the Web Developer’s “style editor” I can see all the changes on the theme. That means I have all the necessary CSS required for the changes.

    I tried giving a link to this as newstylesheet from header.php.
    I tried to add @import from childtheme style.css to newstylesheet.css.
    I did the above after I tried copying all the CSS in justwritechildtheme style.css without success.

    Obviously I have studied the codex chapter and resource links for childtheme.

    Can you point out what I should be doing or what mistake I am doing?
    This may be elementary for you.
    I will appreciate guidance.

    Regards,
    Ashok Koparday

Viewing 6 replies - 1 through 6 (of 6 total)
  • mrtom414

    (@mrtom414)

    you name the style sheet in your new child theme newstylesheet.css. It should be named style.css also.

    mrtom414

    (@mrtom414)

    Your style sheet for child theme should look like this:
    /*
    Theme Name: <<Name of theme>>
    Theme URI: http://www.something.com
    Template: <<name of parent theme >>
    Description: Description of your theme
    Author: [yourname]
    Author URI: http://www.something here
    Version: 0.01
    */
    @import url(“../themename”)

    all this should be saved as style.css

    Thread Starter Dr. Ashok Koparday

    (@drashok)

    Thank you for the reply.
    Yes. Perfectly so. I have style.css in the childtheme as mentioned in the codex. I have been using twentytwelve childtheme for long long time.

    All the beginning lines of the child theme are as per the codex.
    The template name is the parent theme:
    template: justwrite
    and
    @import url (“../justwrite/style.css”)

    and below this are
    /* Additions */

    Yet the changes are not seen.

    In Tools –> Web Developer –> “Style Editor”
    on clicking ‘new’ when I add CSS changes they all get applied.

    I can save this CSS.
    Where do I place this CSS, which I see working in Style Editor?

    I’ll appreciate your guidance.
    Dr. Ashok Koparday

    mrtom414

    (@mrtom414)

    is the justwrite a theme or a child theme. If it’s a child theme you will not be able to create another child theme from it. You would have to use the twentytwelve as your parent theme.

    A child theme wouldn’t have all the php files in its directory. So you can’t use it to create another child theme.

    mrtom414

    (@mrtom414)

    You could copy the style sheet from the justwrite theme and just change the theme name. This will give you a starting point.

    OK.. I think this is another misguided child case…

    I found a bug (i believe) in JustWrite’s Functions.php (its very subtle)

    See my post here for the solution… cheers!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘cannot create childtheme’ is closed to new replies.