Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

When creating a child theme the stylesheets and icons are not loaded #74

Closed
arjanbosboom opened this issue Jul 10, 2014 · 3 comments
Closed

Comments

@arjanbosboom
Copy link

Change get_stylesheet_directory_uri() into get_template_directory_uri() in header.php wil fix this.

@olefredrik
Copy link
Owner

Please see this link. http://wordpress.stackexchange.com/questions/114276/get-template-directory-vs-get-stylesheet-directory

Stylesheet support was added by @katzueno in this commit 6161a74

@katzueno
Copy link
Contributor

My fix is working fine at

http://ja.katzueno.com/
http://en.katzueno.com/

Both are child themes of FoundationPress.
You need to place CSS files & favicon at child theme directory.

@arjanbosboom
Copy link
Author

Thank you for your feedback, I coppied the files and it worked..

But with an update of the parent template stylesheet CSS, you'll be left with the old version on your child template. I've used the import to load the parent css into the child theme app.css of the child-theme: @import url('../../FoundationPress/css/app.css');

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants