claudios claudios - 7 months ago 46
HTML Question

Materialize css footer color white issue

I tried to make a footer and give it a white background color using materialize css but it gives me a grey background color. I tried different colors and it works. The link to materialize colors.

HTML:

<footer class="page-footer white">
<div class="footer-copyright">
<div class="container">
<div class="left-align">&copy; 2016, Company</div>
</div>
</div>
</footer>

Answer

Try adding the class to the internal div, too:

<footer class="page-footer white">
 <div class="footer-copyright white">
  <div class="container">
  <div class="left-align">&copy; 2016, Company</div>
  </div>
 </div>
</footer>