Your child theme is working.
But it still reads some things from the parent also right?
Because I was trying to put my z-index at 50 and I had to change it in the parent theme also.
Yes, that’s how child theme work – it reads your changes if and when the override the parent styles.
Then you CSS either has errors or is not specific enough. Where are you trying to do this?
This is my CSS, I was trying to put the z-index to 50 for the menu because else my gallery wasnt working, the menu was above the gallery.
But I had to change the z-index in the parent theme instead
You don’t need to post CSS – deleted it – but which element on the page.
And never edit the parent’s CSS
Would it be possible that someone looks at my CSS from my child theme for errors or something? Its rather small.
My CSS menu is probably tottaly wrong, I was trying to reduce the z-index for the menu & header otherwise my gallery was displayed under it.
You also have to use the position attribute for z-index to work – so that may be related as well.
Right here you have two brackets:
#access ul {
font-size: 13px;
list-style: none;
margin: 0 0 0 -0.8125em;
padding-left: 0;
}
}
#site-title a {
Subsequent CSS won’t work with that type of error.
I cleaned up my CSS a bit, I would be glad if anyone could look at it for faults.
@esmi , I just edit the parent’s CSS for the z-index to look if it would work that way, what should I do now?
WPyogi , I cleaned up my CSS and removed those I don’t think I needed them.
what should I do now?
Reverse any changes you made to the parent’s CSS.