Hi
You could try calling the voodoo lady but i think there is an easy solution:) You have to create a functions.php file in the child theme folder and add the below code in it
<?php
add_action( 'wp_enqueue_scripts', 'quest_child_enqueue_styles' );
function quest_child_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
}
Thanks.
I do have a functions.php
I was doing it this way
function theme_enqueue_styles() {
$parent_style = 'parent-style';
wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style',
get_stylesheet_directory_uri() . '/style.css',
array( $parent_style )
);
}
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
I changed it to do it your way but that didn’t seem to make any difference.
Are you not seeing the styles being applied ? Or the child theme style.css is not loading at all ? can you provide me the site URL
http://pgx-info.com
Styles are not being applied.
Currently you can notice that there is a class “test” being applied to the <div> that contains the words “See a Sample PGx Report.”
This is in my styles.css
.test {
color: #ff0000;
font-size: 100px;
}
Thanks for your time, man.
Issue is because of file permissions, if you try to access the child theme style.css file you get a 403 error, my bet is because of file permissions, it might also be some other reason, but definetly not theme related
http://pgx-info.com/wp-content/themes/quest-kid/style.css?ver=4.2.4
you got a paypal account where I can give you a tip?
Did you take a look at Quest Plus and what it has to offer ? Purchasing that is the best tip for us 🙂
If you don’t need Quest Plus and just want to give us a donation, please use ravichandrach1[at]gmail.com, also please rate us so that we can reach out to other users