• Resolved elsappy

    (@elsappy)


    Hi,

    I’m using this great theme (v 2.1.1) for my new website https://www.recettescupcakes.com/
    I created a child theme (or rather I tried..) and the style.css file as usual, like this :
    /*
    Theme Name: Hueman Child
    Description: Theme enfant de Hueman
    Author: Cupcake
    Template: hueman
    */

    @import url(“https://www.recettescupcakes.com/wp-content/themes/hueman/style.css”);

    I activated my child theme then.

    But it seems like the style.css from the parent theme is not recognized at all ! And the most surprising is that my child theme perfectly works when I’m connected to the back office…

    Do you have any idea ? I probably did something wrong !

    Thanks ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Instead of this:

    @import url("https://www.recettescupcakes.com/wp-content/themes/hueman/style.css");

    Do this:

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

    Thread Starter elsappy

    (@elsappy)

    Hi !
    Thanks for your answer. But it doesn’t work, the problem remains ??

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Try deactivating your minification plugin too, actually all plugins to isolate the issue

    Thread Starter elsappy

    (@elsappy)

    Thank you very much Andrew, it came from my plugin WP-Rocket !
    Great !!! ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘My child theme doesn't work :(’ is closed to new replies.