• Resolved Bobbutterfly

    (@bobbutterfly)


    Hey folks!

    I successfuly created a child theme for Evolve. Almost, because some things are really odd (text is not dark grey anymore but light grey and other things)…

    But, while it works on my localhost environnement, modifying my child theme style.css doesn’t change my child theme on my website…

    Why?

    Thank you for your help,

    Bob

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

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Is it because your website is running some caching? You can find out from your hosting providers

    Thread Starter Bobbutterfly

    (@bobbutterfly)

    Hi Andrew,

    Thank you for your (quick!) answer. What should I look for about this then? I mean, can I see that in my account panel or something?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Try adding some obvious CSS like:

    body {
        border: 10px solid red !important;
    }

    If that doesn’t work then your site is likely being cached and you can talk to your hosting providers about that issue.

    Thread Starter Bobbutterfly

    (@bobbutterfly)

    Oh yeah but…

    Actually, I run Jetpack with its CSS customiser and it works just fine (I already have some codes there). It just doesn’t work on the child theme

    Or are these two points unrelated?

    I’ll try talking with my host regarding this cache thing

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    It’s not a cache issue then.

    Maybe you have a syntax error inside your Child Theme style.css file, preventing all other CSS from working.

    Thread Starter Bobbutterfly

    (@bobbutterfly)

    Well, it’s really odd because my function.php and style.css are exactly the same as they are on my localhost (with wampserver), except the folder access.

    And I tried with the same code, which worked in localhost = /

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Maybe your line endings are being stripped on your webserver because your local computer has conflicting line endings to your server, e.g. if you’re on Windows and your server isn’t preserving the original line endings on Linux.

    Thread Starter Bobbutterfly

    (@bobbutterfly)

    Oh I see… But, how can I manage this or see if it’s the problem?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Look at the source code of your website and view the CSS file

    Thread Starter Bobbutterfly

    (@bobbutterfly)

    And I guess I need to see if my customized CSS appears even though its not applied?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Yes & can you link your website for us?

    Thread Starter Bobbutterfly

    (@bobbutterfly)

    Oh yeah, of course :). But actually, at the moment, I’m not running the child theme as it’s not properly customized yet (not mirroring the original for some unknown reasons…)

    https://le-chemin-du-butterfly.fr (it’s a french site)

    Thank you for your help ??

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    What is the Child Theme folder name?

    Thread Starter Bobbutterfly

    (@bobbutterfly)

    ” evolving “

    And, looking again, it seems that some css is applied but not all… Hum..

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    What code were you referring to as not working in your Child Theme style.css file?

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘Change through child theme not applied’ is closed to new replies.