Currently I have the current HTML:
<header>
<div class="row text-center">
<h1> text </h1>
<h3> text </h3>
<a> text </a>
</div>
</header>
I want all my header in this class to be white so I made this in CSS:
.row.text-center > h1 h3{
color: #FFFFFF;
}
But the H1 and H3 are still the default colour. Is this not supported in CSS or am I doing something wrong?
` and `
– Hashem Qolami Mar 27 '15 at 22:25` which are descendants of the `div.row.text-center`. The question is not about the parent/ancestor. Anyway, you could simply set the color on the `` element itself. All the descendants would inherit that value.