I've semi-successfully created a wordpress child-theme. By successfully I mean:
- I managed to create a child-theme directory in my themes folder, next to my main theme
- I created a style.css file in the child-theme dir
- I saw the style show up on my Wordpress back-end and managed to activate it
- I added templates (header.php, sidebar.php,...) to the directory
- I made changes to the above templates and saw the changes on my site
However, there is one huge problem:
- Whatever CSS I try to add to the style.css file, it's not affecting the site
I know the "information header" must be ok since I was able to see/activate the child-theme. But I really can't figure out what is wrong. I tried removing the @import rule, which according to the Wordpress codex should remove all styles from my site - nothing happened.
I'm using the Panorama theme and created "panorama-technology" as a child. Below you can see the code I have in the style.css file inside the child-theme: "panorama-technology":
/*
Theme Name: panorama-technology
Template: panorama
*/
@import url("../panorama/style.css");
#search{
margin: 15px 15px 0 0;
}