CSS style edits making no difference at all
-
I’m a WordPress newbie and I have just transferred my site from WordPress.com to www.ads-software.com One of the reasons I did this is that I wanted to make changes to things like the theme fonts etc
I have been looking up how to do that and I have made a child theme of the theme that I use (Tonal) following instructions.
My code for style.css is this:
/*
Theme Name: tonalchild
Description: A Tonal Child Theme designed by Rachel Shah
Author: wyldeandfree
Version: 1.0.0
Template: tonal*/
My code for functions.php is this:
<?phpadd_action( ‘wp_enqueue_scripts’, ‘enqueue_parent_theme_style’);
function enqueue_parent_theme_style() {
wp_enqueue_style( ‘tonal’, get_template_directory_uri().’/style.css’ );
}
?>No matter what code I add in the Dashboard Appearances editor NOTHING changes. Nothing at all.
For example, as a test, right now I’ve got:
/*
Theme Name: tonalchild
Description: A Tonal Child Theme designed by Rachel Shah
Author: wyldeandfree
Version: 1.0.0
Template: tonal*/
body {
border: 10px solid red !important;
}but there is no red border whatsoever.
Can anyone help me?
Thank you!
Rachel
wyldeandfree.com
- The topic ‘CSS style edits making no difference at all’ is closed to new replies.