• What could be the possible reasons this child style isn’t working? Does being on a dedicated server have any effect? The fact that the theme author disabled the WordPress editor (under Appearances) and all changes have to be FTP’d? I assume it could have to do with the parent theme unless I have made a mistake in the coding. Below is an example of the code I’m using. Any ideas would be appreciated because I’m pulling my hair out. No css changes I have tested have any effect.

    Parent theme folder named Example with a capital E.
    Child theme folder named Example-child.
    The parent and child folders are in the same folder, themes.

    Parent style.css:

    /*
    Theme Name: Example
    Theme URI: https://themeforest.net/user/
    Description: Premium wordpress template
    Version: 3.9
    Author: example
    Author URI: https://themeforest.net/user/
    Tags: black, white, one-column, two-columns, fixed-width
    */

    Child style.css:

    /*
    Theme Name: Example-child
    Template: Example
    */
    @import url("../Example/style.css");
    
    .meta-info time {font-style: normal; white-space: nowrap;}
Viewing 1 replies (of 1 total)
  • Thread Starter xing3811

    (@xing3811)

    Forgot to mention that the child style works on localhost. I copied the live site to localhost with BackupBuddy to make my edits and everything was fine until adding back to the live site.

Viewing 1 replies (of 1 total)
  • The topic ‘Child style not working’ is closed to new replies.