Child theme for Evolve?
-
Which bit are you stuck with?
Hi, Andrew:
I need child theme for Evolve theme. I want to make some changes existing parent theme and also want to include some more features, page templates, and extra things.
thanks for quick response!Have you seen this article; http://codex.ww.wp.xz.cn/Child_Themes ?
I already tried it but theme broken, css is not working. what should I do?
Child theme is not inheriting the main theme
Can you post your child theme’s
style.csshere so we can look at it? If it’s too long, put it somewhere like pastebin and post the link here./*
Theme Name: Evolve Child
Theme URI: http://projatt.com
Description: Evolve Child Theme
Author: Muhammad Imran
Author URI: http://projatt.com
Template: evolve
Version: 1.0.0
*//* =Theme customization starts here
————————————————————– */Looks like you’re missing the ‘
@import‘ line, e.g:/* Theme Name: Evolve Child Theme URI: http://projatt.com Description: Evolve Child Theme Author: Muhammad Imran Author URI: http://projatt.com Template: evolve Version: 1.0.0 */ @import url('../evolve/style.css'); /* =Theme customization starts here -------------------------------------------------------------- */still not working
Let’s see your site
sorry sir, my site is not online, I am working on xammp local sever.
I don’t know how to import parent theme styles in child theme. would you write the exactly what is the code. what should I put in the child theme style.css. which inherits the parent theme styles.The above is exactly the code I would write – which leads me to think your Child Theme isn’t in the right directory. Which directory is it in?
wp-content/themes/child evolve/style.css
Try removing the space in your “child evolve” folder name, so it becomes “childevolve”, or “child-evolve”
C:\xampp\htdocs\sites\demo-site\wp-content\themes\evolve-child
The topic ‘Child theme for Evolve?’ is closed to new replies.
