Hi guys,
in a past thread you gave me the following code to change the formatting of a H2 in post entries
.single-post .entry-content h2 {
margin-top: 15px;
margin-bottom: 15px;
}
.single-post .entry-content h2 a {
color: #2195f3 !important;
text-decoration: underline !important;
}
Now I need to do the same for pages also…
How can I do it?
Where are the H2 default values defines?
Hey massimobr,
So you want it to apply globally on the entire site? If so then please try this instead of what you posted:
.entry-content h2 {
margin-top: 15px;
margin-bottom: 15px;
}
.entry-content h2 a {
color: #2195f3 !important;
text-decoration: underline !important;
}
Best regards,
Rikard
I’ll do that, thanks!
Hi, I tried but I am afraid it does not work.
the page where H2 do not show underlined is
Hi,
Please try this as well:
.page h2 a, .page h2 {
color: #2195f3 !important;
text-decoration: underline !important;
}
Best regards,
Rikard
Thanks, that way all H2 appears underlined.
Hi massimobr,
So does it work for you this way?
Best regards,
Victoria
nop… sorry to bother but still does not work.
However, I can leave as it is.
Beside this, I’d like to know where the H formatting is defines in Enfold.
I know I can change default setting with styling but I do not know where default setting is..
thanks
Hi,
It is defined in base.css. It may vary for example if you use h2 on Special Heading it is also in other css file. You can set the default however in Enfold > Advanced Styling. Hope this information helps.
Best regards,
Nikko
thanks!
i will check that.
Hi,
Please keep us updated.
Best regards,
Jordan Shannon