Hi, did you enqueue that stylesheet properly? When you look through a source code of your page, is there a call for that file in your child theme?
No, I don’t believe so. I’m not familiar with enqueuing stylesheets at all.
Is that what’s the “functionx.php” file is for?
If so, all I have is this –
<?php
/*
* Connect Style Sheets
*/
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style', get_stylesheet_uri(), array( 'parent-style' ) );
}
?>
I don’t even know what the above code does – when I initially created my child-theme based on a WordPress tutorial, it didn’t work properly. I don’t recall the exact error, but I researched my error and found the above code for another theme. I changed a few lines to match my theme’s details and it seems to be working fine.
Hi there,
Thanks for using Tortuga.
If you only want to change one line I recommend to override the CSS in the child theme’s style.css. You can use the !important tag on your CSS rule to make sure it is overwritten at all cases.
Otherwise you would have to dequeue the original flexslider.css and enqueue your own one. I don’t recommend that because you will lose any change we make to the original file with updates.
Best,
Thomas
Good day @themezee. Is there a Tortuga child theme I can download through you? The child theme I’ve created (and I’ve created many), doesn’t seem to function well for your site. Are there specific files I’m unaware of that I need to copy into the child-theme folder for Tortuga?