I’m customizing a bootstrap template. I want to change the text-decoration to normal case instead of uppercase that comes with template by default.
Here is the html element with its container:
<header class="masthead bg-primary text-white text-center">
<div class="container d-flex align-items-center flex-column">
<!-- Masthead Avatar Image -->
<img class="masthead-avatar mb-5" src="img/avataaars.svg" alt="">
<!-- Masthead Heading -->
<h1 class="masthead-heading text-uppercase mb-0">Hi. I'm Anas Ansari</h1>
<!-- Icon Divider -->
<div class="divider-custom divider-light">
<div class="divider-custom-line"></div>
<div class="divider-custom-icon">
<i class="fas fa-star"></i>
</div>
<div class="divider-custom-line"></div>
</div>
<!-- Masthead Subheading -->
<p class="masthead-subheading font-weight-light mb-0">Graphic Artist - Web Designer - Illustrator</p>
</div>
</header>
Here is the css code related all the classes in the header element:
.masthead {
padding-top: calc(6rem + 74px);
padding-bottom: 6rem;
}
.masthead .masthead-heading {
font-size: 2.75rem;
line-height: 2.75rem;
}
.masthead .masthead-subheading {
font-size: 1.25rem;
}
.masthead .masthead-avatar {
width: 15rem;
}
@media (min-width: 992px) {
.masthead {
padding-top: calc(6rem + 104px);
padding-bottom: 6rem;
}
.masthead .masthead-heading {
font-size: 4rem;
line-height: 3.5rem;
}
.masthead .masthead-subheading {
font-size: 1.5rem;
}
}
I tried everything to override the default rules but nothing works. I tried giving !important I tried giving id. I tried increasing specificity. But nothing can change this goddamn to work. I have wasted 2 sleepless nights over this. Can you please help me?