I have created a my child theme, and have the style.css and functions.php files with the code below, but cant for the life of me get the css to work on the site.
My parent theme is startright and my child theme is startright-child
In the theme editor I can see these child files, but that first and one css change isnt coming through, and cant get any css i add to the child stylesheet to work
I’m looking at that child theme’s style.css and your startright-header-main is missing the period in front of it .startright-header-main that denotes that it’s a class selector.
Hi, I thought then that was going to be the most embarrasing shout for help I have ever done, but in a way thankfully I added the class selector and still nothing.
Thanks for the heads up with the enqueue for the css file, so looked into it and kept having the same issue, which was it took ages for the change in the css file to update on the website, so put it down to server cache. I then found a bit of code, used it and hey presto all worked fine, the changes where instant.