I am working on a wordpress theme and I have a this code in HTML:
<body>
<div class="container-fluid mytheme-container" >
<div class="container-fluid col-lg-offset-5 col-lg-7 404page">
<p id="404">404</p>
<p id="page-not-found">Page not found... :(</p>
</div>
</div>
</body>
I want to add height to the last div and I thought my css in this way:
body > div.container-fluid.mytheme-container > div.container-fluid.col-lg-offset-5.col-lg-7.404page {
height: 100vmin;
}
That doesn't work, just if I let the selector like this:
body > div.container-fluid.mytheme-container > div {
}
But I think that this will apply to every child of mytheme-container and I don't want that. So, how can I get the selector for that div ( 404page ) in a more specific way than the last one?