Can't get child theme changes to work
-
I am using Colormag theme and want to make some customisations of CSS, functions.php and 404.php so I created a child theme “colormag-child” which activated OK but I cannot get the changes to display.
To create my child theme I made a new theme folder called “colormag-child” and added a style.css like:
/* Theme Name: Colormag Child Theme Theme URI: http://themegrill.com/theme-instruction/colormag/ Description: ColorMag Child Theme Author: Tony Gilbert Author URI: http://www.websupportguy.com Template: colormag Version: 1.0.0 */ @import url("../colormag/style.css"); /* write custom css */To test if it’s working I have added a new H2 style like:
h2 { font-size: 48px; /* font-size: 32px;*/ line-height: 1.2; }But the H2s in posts are still showing at 32px, not 48 px, so I know the CSS in the child theme is not being loaded.
Any idea why it’s not being loaded? The site is http://www.travelnasia.com if you would like to take a look. I’ve already searched for posts with similar problems and found nothing that was helpful for me.
Thanks, Tony
The topic ‘Can't get child theme changes to work’ is closed to new replies.