Per the recommendation from WordPress that you use child themes so that you can update the parent theme without losing your changes, I am giving it a try. I’m now on my third site attempting to use a child, and all three times I had the same problem so now I have to assume it’s my user error.
The problem I am having is that the parent theme’s stylesheet is still displaying, NOT the child stylesheet as it’s supposed to.
Steps I take:
1. install parent theme in the /themes/ folder. (in /parent/, let’s say)
2. create new folder in /themes/ (let’s call it /child/).
3. create file called style.css and drop it in the /themes/child/ folder.
4. In my CSS file I include:
Theme Name: Child
Theme URI: http: //example.com/
Description: Child theme of Parent
5. Upload contents of /themes/child/ to server. (parent theme already there and active).
6. Activate Child theme in WP admin panel.
upon activation, the site looks exactly as it did when the parent theme was installed. Which it should NOT, because I am NOT yet importing the parent style sheet in my child style.css file! That tells me that my child style sheet is not overriding the parent sheet as it should.
(for what it’s worth, I also have tried it doing the import of the parent style sheet, then making an overriding change to a style – and the overriding change does NOT take.)
I’m completely baffled. When I activate the child theme, it clearly states that the stylesheet being used is located in the /themes/child/ folder.
It’s not a caching issue, either; I tried this on multiple browsers (that had not loaded the parent theme previously) and cleared cache.
Baffled. Please, any help?
- The topic ‘Child theme help – parent styles.css still showing’ is closed to new replies.