• Hello,
    I am following a tutorial to make a child theme and make changes to twenty twelve theme. I wrote the new css file and saved that under the new folder. Uploaded that folder into my host, go daddy. (that is where the wordpress has been installed)
    Howevere when I go to wordpress I dont see the new theme at all! any thoughts or suggestions is highly appreciated.

    Here is the css file that I wrote:

    /*
    Theme Name: Child of Twnty Twelve
    Theme URI:
    dESCRIPTION: COOL cHILD tHEME BASED ON 2012
    Author: Mahsa
    Version:0.0.1
    Template:Twentytwelve

    CSS Document */
    @import URL(‘../TWENTYTWELVE/STYLE.CSS’);

Viewing 15 replies - 1 through 15 (of 33 total)
  • You can’t use capital letters in some of those places – try this:

    Theme Name: Child of Twnty Twelve
    Theme URI:
    dESCRIPTION: COOL cHILD tHEME BASED ON 2012
    Author: Mahsa
    Version:0.0.1
    Template: twentytwelve
    */ 
    
    @import url('../twentytwelve/style.css');

    Create a folder named Child-of-Twenty-Twelve

    Replace all of the above with this:

    /*
    Theme Name:     Child of Twenty Twelve
    Theme URI:
    Description:    Cool child theme based on 2012
    Author:         Mahsa
    Template:       twentytwelve
    Version:        1.1.1
    */
    
    @import url("../twentytwelve/style.css");

    Place that style sheet inside the directory named Child-of-Twenty-Twelve, and upload to your theme directory.

    Navigate to themes, select and activate the Child of Twenty Twelve theme.

    That should do it. Just tested it myself, and it worked as expected. Goood luck!

    Yes… what WPyogi said! πŸ™‚

    LOL – yours was more nicely done, ClaytonJames :).

    I just type with two fingers, though. Takes me longer.. Ha!

    Thread Starter memastudio

    (@memastudio)

    Thank you thank you! it worked….yeaaaaay

    Nice! I’m sure I speak for WPyogi as well, when I say you’re welcome!

    Thread Starter memastudio

    (@memastudio)

    One more issue following the above:
    I could see and activate the child theme, howevere it is not linked to the style of 2012! When I activated the child theme, it dose not have any style. Any idea?
    here is teh website:
    memastudio.ca
    thanks a lot for your help,
    Cheers

    Thread Starter memastudio

    (@memastudio)

    I am looking into twentytwelve theme and i dont see any style.css file!
    there is two other files:
    editor_style-rtl
    editor-style

    should i change the import url to these files?

    This is wrong:

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

    it needs to be:

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

    After you change that, switch to twentytwelve and then back to the child theme – so that it will correctly “see” that changed file.

    Thread Starter memastudio

    (@memastudio)

    i did as above, still there is no style!

    hen I check on the ftp site, there was no file under the name of style in twntytweleve theme directory. could that cause the problem?

    Yes, there should be one there – maybe you moved it when making the child theme? In any case, you can change to another theme – twentyeleven should be there? – and just delete and then reinstall twentytwelve. (Assuming you have not yet made changes to twentytwelve?)

    Your css file looks like this:

    /*
    Theme Name:     Child of Twenty Twelve
    Theme URI:
    Description:    Cool child theme based on 2012
    Author:         Mahsa
    Template:       twentytwelve
    Version:        1.1.1
    */
    
    @import url("../twentytwelve/editor-style.css");

    Change the last line to this, and see if that does it:

    @import url(“../twentytwelve/style.css”);

    Okay… I’m suddenly feeling veeerrrryyy slowwww….. I suspect the White Zinfandel. πŸ˜›

    G’night all!

    Nitey-nite, sleep tight :)!

Viewing 15 replies - 1 through 15 (of 33 total)
  • The topic ‘child theme-Go daddy’ is closed to new replies.