- This topic has 10 replies, 2 voices, and was last updated 8 years, 7 months ago by Micke.
-
AuthorPosts
-
February 8, 2016 at 3:26 am #84918MickeParticipant
How do I change the fonttype on post titles? Can’t find it in style.css
February 8, 2016 at 12:53 pm #84939MaheshParticipantHi Micke,
You can achieve it with Custom CSS. Go to “Dashboard=> Appearance=> Theme Options=> Custom CSS” box and add the following CSS.
#content .post .entry-title > a { font-family: Times New Roman; }
Note: Please change the font-family to your desired font.
Regards,
MaheshFebruary 9, 2016 at 2:53 pm #85018MickeParticipantThanks I’ll look in to that
February 9, 2016 at 3:07 pm #85021MickeParticipantI tried it but nothing happened at all it’s still same font family.
February 9, 2016 at 3:44 pm #85022MaheshParticipantHi Micke,
Please post in you site url.
Which font type are you trying to change the title to?Regards,
MaheshFebruary 9, 2016 at 6:37 pm #85032MickeParticipantMy homepage is: http://www.mickesei.se
I tried Lucida handwriting, but it didn’t work and I tried different other like comic sans, time new roman but it would not change.
February 10, 2016 at 10:29 am #85062MaheshParticipantHi Micke,
I thought you meant to change fonts for post title title, the above CSS won’t change the font for page titles. If you want to change all titles in content, use the following CSS.
#content .entry-title > a { font-family: comic sans ms; }
OR
#content .entry-title > a { font-family: Times New Roman; }
OR
#content .entry-title > a { font-family: "Lucida Handwriting"; }
Note: If you want to use custom fonts, you’ll have to first import that font then only you can use it.
Regards,
MaheshFebruary 10, 2016 at 10:37 am #85063MickeParticipantOK thanx
February 10, 2016 at 6:18 pm #85100MickeParticipantNow I have tested it and it works sort of, it works on every page accept on the first one the main page.
February 11, 2016 at 10:03 am #85172MaheshParticipantHi @Micke,
If you want it on homepage only, please use the following CSS.
.home #content .entry-title > a { font-family: Times New Roman; }
Regards,
MaheshFebruary 11, 2016 at 7:01 pm #85221MickeParticipantNo there was a problem a while so the new font was only visible on some pages and some had a other fonttype but now it seems to work. Thanks for your help.
-
AuthorPosts
- The topic ‘Change title fonttype’ is closed to new replies.