[SOLVED] not able to change h1 and h2 font-color
Hi!
Would you please give a hand here... I added to Html/CSS Inserts the folowing, in order to change font style: h1 { font-family: Verdana; font-color: #0DB02B; font-size: 24px; *line-height: 1.2; margin: 0.3em 0 10px; } h2 { font-family: Verdana; font-color: #0DB02B; font-size: 20px; *line-height: 1.3; margin: 1em 0 .2em; } h3 { font-family: Verdana; font-color: #0DB02B; font-size: 18px; line-height: 1.3; margin: 1em 0 .2em; } h4 { font-family: Verdana; font-size: 16px; margin: 1.33em 0 .2em; } h5 { font-family: Verdana; font-size: 1.3em; margin: 1.67em 0; font-weight: bold; } h6 { font-family: Verdana; font-size: 1.15em; margin: 1.67em 0; font-weight: bold; } p {font-family: Verdana, sans-serif; font-size:11px; } However, titles in posts are still black. What am I missing here? :confused: thank you! |
|
Double check your CSS. There are some syntax and selector naming errors. You might also consider adding the proper CSS to the Post/Page styling section of the theme options instead of CSS Inserts.
|
Thanks!
I just removed "font" from "font-color" and it worked! Whys is that? Isn't the correct syntax font-color, font-size, font-weight, .........??? |
if you are unsure, look it up :)
google is your friend |
Check w3schools.com for syntax. font-color is not vallid.
|
Thanks! Solved!
|
All times are GMT -6. The time now is 11:26 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.