• Resolved llgchristy

    (@llgchristy)


    I’m using the Modality theme and my problem is that the child theme I created is not working. It’s not getting any of the style.css. I’ve used two different tutorials with the same result- no style. Is this theme just not child theme friendly? (I will seriously cry, the hours I’ve put into it…) I had no problems with my last theme’s child theme.

    Please, any suggestions would be greatly appreciated!! (I’ve tried emailing the theme people and have had no response…)

    Thanks ??

    https://www.liveloveguitar.com

    Here’s what the child theme is calling when I ‘live preview’ it – https://www.liveloveguitar.com/broken-child-theme-screen-shot/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    Try this in your child theme’s style.css file:

    @import url('../modality/style.css');

    Make it the first line after the style.css file’s header stuff, so:

    /*
    Theme Name: Live Love Guitar
    Theme URI: https://www.ads-software.com/themes/modality/
    Description: Live Love Guitar custom child theme.
    Author: llgchristy
    Author URI: https://www.liveloveguitar.com/
    Template: modality
    Version: 2.0
    Tags: custom
    */
    
    @import url('../modality/style.css');

    Followed by the rest of your custom CSS.

    Thread Starter llgchristy

    (@llgchristy)

    The error was me! I spelled ‘functions’ wrong! I missed the c. Works fine now ??

    Moderator James Huff

    (@macmanx)

    Thanks for letting us know what it was. ??

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