• mhknuckles

    (@mhknuckles)


    I followed all the steps for creating a child theme adding the codex to the style.css file. But the style does seem to be coming over from the parent theme. PLEASE HELP! nyenpubyrl-soprano.com

    Below is my entry.

    /*
    Theme Name: Twenty Twelve Child
    Theme URI: https://globalmanagementalliance.com/twentytwelve-child
    Description: Child theme for Twenty Twelve
    Author: MHKnuckles
    Author URI: https://globalmanagementalliance.com
    Template: twentytwelve
    Version: 1.3
    Tags: Light, Gray, White, One Column, Two Columns, Right Sidebar, Fluid Layout, Responsive Layout, Custom Background, Custom Header, Custom Menu, Editor Style, Featured Images, Flexible Header, Full Width Template, Microformats, Post Formats, RTL Language Support, Sticky Post, Theme Options, Translation Ready
    Text Domain: twenty-twelve-child

    */

    @import url(“https://globalmanagementalliance.com/twentytwelve/style.css”);

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Clayton James

    (@claytonjames)

    It should be: @import url("../twentytwelve/style.css");

    Thread Starter mhknuckles

    (@mhknuckles)

    Reply

    I am really not understanding the syntax for this entry:
    @import url(“../twentytwelve/style.css”);

    Can please be more specific? This is what I got from that and tried, but it did not work:

    @(“https://globalmanagementalliance.com/wp/themestwentytwelve/style.css”);

    Thanks

    Clayton James

    (@claytonjames)

    The code for importing the style sheet from the parent theme (twentytwelve, in this case) on your WordPress site is exactly this:

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

    It can’t possibly get any more specific. It is exactly what you see. Do not change it to @("https://globalmanagementalliance.com/wp/themestwentytwelve/style.css");

    By the way, if your WordPress site is at nyenpubyrl-soprano.com, why you are using this in your child theme style sheet?

    @import url("https://globalmanagementalliance.com/twentytwelve/style.css");

    That isn’t even on the same domain.

    You may want to go back and review the instructions for creating a Child Theme again.

    Thread Starter mhknuckles

    (@mhknuckles)

    Yes I am a bit confused about the child theme creation. I decided to use a css plugin instead until I can understand it better.

    Explaining that the code “can’t possibly get any more specific” and needed no changes, was helpful. I mistakenly assumed the (@impokenlyrt url) was to be replaced with my domain name.

    I am learning code on my on and grateful for direction.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Child Theme Codex Wrong?’ is closed to new replies.