• Resolved EverythingTech

    (@everythingtech)


    Hello,

    I was trying to create a child theme based on Zircone, but I ran into some trouble with it not loading foundation.css. After a bit of poking around, I realized it was looking for it in my child theme’s folder. So the fix was to change line 107 of functions.php to use get_template_directory_uri() instead of get_stylesheet_directory_uri(). Now everything’s working great.

    If you could please change this, it’d prevent me from having to do this after every update. It’d also prevent others trying to make a child theme from running into the same issue.

    Thanks!

    Sources:
    https://codex.www.ads-software.com/Function_Reference/get_stylesheet_directory_uri (4th paragraph spells out the fix)

    EDIT: Line 116 for genericons.css needs to be changed as well.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Tweak to fix problems with child themes’ is closed to new replies.