Currently, I am in the process of designing a website prototype using Twitter Bootstrap.
One issue that I have encountered is that when I use the hero-unit
class, any color attributes specified in the h1
tags are ignored and only displayed in black. This is due to the color: inherit;
property set within the class:
.hero-unit h1 {
color: inherit;
}
I am wondering if there is a way to override this color attribute with another class?
My idea is to apply a new class called hero-unit-fix
which will address the color issue.
I would prefer not to make changes to the bootstrap CSS files so that I can easily update or replace them in the future.