Changing heading font
-
Hello,
I’m currently working on a website locally using twenty eleven them. I created a child theme to use custom css code.
The thing is. I want to use a different font for the headings, but I don’t know what code to put in the child theme style.css.
If I change it in the twenty eleven style.css it works, but if I copy the the code it wont work.
h1 {
color: #8ecc62;
font-family: ‘customfont’,sans-serif;
font-size: 15px;
font-weight: normal;
letter-spacing: 3px;
line-height: 15px;
margin-bottom: 12px;
text-transform: uppercase;
}.entry-content h1,
.entry-content h2,
.comment-content h1,
.comment-content h2 {
color: #8ecc62;
font-family: ‘customfont’,sans-serif;
font-size: 15px;
font-weight: normal;
letter-spacing: 3px;
line-height: 15px;
margin-bottom: 12px;
text-transform: uppercase;
}Some help would be appreciated ??
- The topic ‘Changing heading font’ is closed to new replies.