JTeich Posted August 3, 2022 Posted August 3, 2022 Site URL: https://www.caroline-shenaz-hossein.com/portal-main Hello, I have a few pages that i need to look different than the other pages, and part of that is the font. I've managed to change the colour of h1, h2, h3 etc, but not the font. Here's the section of code that i've put in the header. (I can provide all the code if it's relevant). It doesn't seem to matter where I put !important #collection-62702969fd68866477d96224 h1 { color: #800032;!important; font-family: "Times New Roman", Times, serif;!important; } h2 { color: red;!important; font-family: "Times New Roman", Times, serif;!important; } h3 { color: blue;!important; font-family: "Times New Roman", Times, serif;!important; } p { color: black !important; font-family: "Times New Roman", Times, serif;!important; } a { color: blue !important; font-family: "Times New Roman", Times, serif;!important; } .sqs-block-horizontalrule hr { background-color: blue; } Thanks so much!
Solution tuanphan Posted August 5, 2022 Solution Posted August 5, 2022 Remove these symbols It should be #collection-62702969fd68866477d96224 h1 { color: #800032;!important; font-family: "Times New Roman", Times, serif !important; } h2 { color: red;!important; font-family: "Times New Roman", Times, serif !important; } h3 { color: blue;!important; font-family: "Times New Roman", Times, serif !important; } p { color: black !important; font-family: "Times New Roman", Times, serif !important; } a { color: blue !important; font-family: "Times New Roman", Times, serif !important; } .sqs-block-horizontalrule hr { background-color: blue; } JTeich 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment