Hi,
I have created a child theme for a bootstrap style theme.
In the functions.php file there are a few lines that point to files that reside within folders in the parent theme folder structure.
eg;
require_once( get_template_directory() .'/functions/google-fonts.php' );
Now rather than having to copy all the required files, I just want to create a function file in my child theme that loads the files that the theme needs.
I have discovered I need to to do this as the fonts aren’t loading.
Can some one give me some guidance on how I can get the files to load.
Many thanks
]]>Hi everybody,
I am struggling with the child thme for the Evolve theme for the last few days.
The problem is, that I can’t get the base.css of the child theme to be recognised. The author of the Evolve thme doesn’t want to help.
What exactly should I add in the style.css of the child theme?
My child theme is in the folder evolve-child.
I have this in the style.css of my child theme:
/*
Theme Name: Evolve Child
Theme URI: https://www.secretsistersblog.com/
Description: Child Theme Evolve
Author: Johanna Ouwerling
Author URI: https://www.secretsistersblog.com
Template: evolve
Version: 1.0
*/
@import url( ‘../evolve/style.css’ );
Then I have placed the header.php, the functions.php, the content-blog.php, the index.php and the folder library in the child theme folder.
I changed all those files except the functions.php, but I thought the functions.php should be there too. Is that correct?
My main problem is, that I can’t get the files from the library folder to work. In it is an important css file.(base.css) And my site doesn’t load that.
Should I include the path to this folder somewhere and where?
The js from the library folder isn’t working either, but I managed to get that to work by placing that folder directly in the child theme folder. Next to the index.php etc.
The only way I can get the css to work is when I insert it in the admin of the theme. The author created this possibility in the wp admin.
But I don’t know if when the author updates his theme, I loose all my changes.
I have the child theme activated now and it works alright.
I hope somebody understands what I am writing here.
My main question also is, how can I get the css inside the library folder to work?
My website is here:
Johanna
]]>Hi everybody,
I am trying to get the css in my child theme from the Evolve theme to work.
The author of the theme says he can’t help me.
I have this in the style.css of my child theme:
/*
Theme Name: Evolve Child
Theme URI: https://www.secretsistersblog.com/
Description: Child Theme Evolve
Author: Johanna Ouwerling
Author URI: https://www.secretsistersblog.com
Template: evolve
Version: 1.0
*/
@import url( '../evolve/style.css' );
Then I have placed the header.php, the functions.php, the content-blog.php, the index.php and the folder library in the child theme folder.
I changed all those files except the functions.php, but I thought the functions.php should be there too. Is that correct?
My main problem is, that I can’t get the files from the library folder to work. In it is an important css file. And my site doesn’t load that.
Should I include the path to this folder somewhere and where?
The js from the library folder isn’t working either, but I managed to get that to work by placing that folder directly in the child theme folder. Next to the index.php etc.
The only way I can get the css to work is when I insert it in the admin of the theme. The author created this possibility in the wp admin.
But I don’t know if when the author updates his theme, I loose all my changes.
I have the child theme activated now and it works alright.
I hope somebody understands what I am writing here.
My main question also is, how can I get the css inside the library folder to work?
My website is here:
Johanna
]]>I have created a child theme and have it activated, but in the Appearance/Themes menu of the Dashboard where you manage themes there is a line that says:
“This child theme requires its parent theme, Twenty Twelve.”
I have seen conflicting answers to this question. Does anyone know *for sure* if this is an error message or something that is supposed to be there whenever you activate a child theme?
Thanks very much.
]]>I have created a child theme from scratch as directed in various sources as well as used the One-Click Child theme plug in. None of these attempted installs have any effect. The child style.css file does not seem to be seen and changes to it have no effect. Any guidance?
]]>