• Resolved mcky

    (@mcky)


    Hi,
    I created a child theme for mantra on my local host, but doesn’t work!!!
    My style is:
    /*
    Theme Name: Mantra Child
    Description: Mantra child theme
    Version: 0.1
    Template: mantra
    */
    @import url(“../mantra/style.css”);

    The child theme it loads ,but doesn’t recogniz the configurations of the parent theme, showing a screen incorrect setting!!!!
    Others have had the same problem?
    Is a bug???
    Thancks!!!

Viewing 11 replies - 1 through 11 (of 11 total)
  • WPyogi

    (@wpyogi)

    Did you use a plain text editor to create that style.css file? Looks like you have curly quotes in there and those can be problematic. See the difference between your and mine?

    (“../mantra/style.css”); 
    
    "  "

    Thread Starter mcky

    (@mcky)

    HI Wpyogi,
    Thank you for your quick reply,but my curly quotes are correct!!
    I created my style css whit notepad++
    I tride to change my curly quotes whit those of your example….
    But never changed in my site!!!
    Doesn’t recognize the main settings!!! 🙁

    Michael

    (@alchymyth)

    there shall be no curly quotes.

    see Codex example http://codex.ww.wp.xz.cn/Child_Themes

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

    Thread Starter mcky

    (@mcky)

    Hi Alchymyth,
    i followed the example http://codex.ww.wp.xz.cn/Child_Themes…..
    but not work!!

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

    Thanks for your help

    Thread Starter mcky

    (@mcky)

    @import url(“../mantra/style.css”);
    is correct!!

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you link to the page with the issue?

    WPyogi

    (@wpyogi)

    If you changed that @import line in the Dashboard > Editor – you need to then switch to another theme, and back to the child for it to be recognized. Try that.

    Thread Starter mcky

    (@mcky)

    @andrew – I’m testing in local host!!!

    http://localhost/word/

    I did not change the parent theme!!!

    @Wpyogi- I did as you said but still the same problem!!!

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    mcky? Calmly please. You’re frustrated but honestly more !!! sure isn’t going to help you.

    Since you can’t post a link we can get to can you paste your entire child theme into a pastebin.com link? Once you do post the link to that paste and someone can look at it there.

    See http://codex.ww.wp.xz.cn/Forum_Welcome#Posting_Code for instructions on how to use pastebin.com.

    Michael

    (@alchymyth)

    The child theme it loads ,but doesn’t recogniz the configurations of the parent theme, showing a screen incorrect setting!!!!

    be aware that a child theme is like a different theme, and does not use the parent theme’s theme options and appearance settings, like header images, menus etc…

    have you tried to set those options etc new for the child theme?

    Thread Starter mcky

    (@mcky)

    thanks to all, I solved the problem
    was the local server that created conflict
    I had no problems with the remote installation
    greetings and thanks
    Mcky

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

The topic ‘Theme Child problem’ is closed to new replies.