Hello, I use the CSS CLASS to control the SPECIAL HEADING. But the code below does not work. What can I be doing wrong?
CODE
/ * SPECIAL HEADING CUSTOM * /
.txtsh {
Margin-top: 46px;
Font-weight: bold!
Font-size: 17px;
Line-height: 1.5em;
Margin-bottom: 8px;
Text-align: left;
Font-family: ‘PT Sans’, ‘HelveticaNeue’, ‘Helvetica Neue’, Helvetica, Arial, sans-serif;
Font-style: italic;
Padding-right: 6px;
}
VIEW IMAGE
PAGE WEB SITE
[http://www.liliansouza.com/assets/2016/atividades/]
it is because your custom class is one layer above the h3 so try to set the rules with:
.txtsh .av-special-heading-tag {
here comes your code
}
somethings have to be set to !important
Many thanks for the feedback. I used the way you commented. But nothing worked.
.txtsh .av-special-heading-tag {
Margin-top: 43px;
Font-weight: bold!
Font-size: 17px;
Line-height: 1.5em;
Margin-bottom: 8px;
Text-align: left;
Font-family: ‘PT Sans’, ‘HelveticaNeue’, ‘Helvetica Neue’, Helvetica, Arial, sans-serif;
Font-style: italic;
Padding-right: 6px;
}
click to enlarge the firebug window of your source code:
you see on the right side the code you inserted. All strikethrough rules are overwritten by some other rules with more rights (more specific or other reasons. If you like to have it than set the rule to !important like:
.txtsh .av-special-heading-tag {
font-family: "PT Sans","HelveticaNeue","Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 17px !important;
font-style: italic;
font-weight: bold;
line-height: 1.5em;
margin-bottom: 8px;
margin-top: 43px !important;
padding-right: 6px !important;
text-align: left !important;
}
It’s ok now.
Tanks Guenni007