I have a wordpress with a theme in which I want to customize a title that I want to look like this :
But the source looks like this :
I have manually assigned the font it uses and other css effects:
.text--superior {
margin-bottom: 15px !important;
font-size: 59px;
font-family: "Herr Von Muellerhoff" !important;
}
I've also tried text-transform
but it doesn't work
How do I get rid of the excess italics that the font currently has?
The style of the font is determined by the property
font-style
, this is what determines what is in theitálica
. The initial state isnormal
so all text should be displayed without italics unlessinherit
and is inheriting the value of a parent elementIn your case there is a child element modifying it
Just remove the element
<em>
or create a class and apply it to itor you could tell him that he inherited from his father that he already brings it in
normal
Please do not use
!important
if it is not strictly necessary. It's always considered bad practice and it's nothing that classes that have more specificity can't fix .