Tagged: Font, page titles
- This topic has 12 replies, 4 voices, and was last updated 10 years, 9 months ago by Sanjip Shah.
-
AuthorPosts
-
September 9, 2013 at 10:43 pm #3880entacserParticipant
How do I change the fonts of the page titles? For example, at http://www.enterpriseacademic.com/about-us/, the words “About Us” are displayed in some crazy font that I want to change. I have the following in my custom CSS area, but it doesn’t seem to affect the page titles at all:
body, input, textarea
{
font-family: Myriad Pro, “Gill Sans”, Arial, Sans-Serif;
font-size: 16px;
}September 10, 2013 at 2:08 am #3881entacserParticipantI did notice the suggestion in earlier posts to go to Appearance->Theme Options->Design Options->Typography, but I do not have the Typography option on my version of WordPress. Not sure whether it’s supposed to be there or not, but it isn’t.
September 10, 2013 at 6:11 am #3882Rabin ShresthaParticipantHi entacser,
You are using the free version of Attitude. The typography option is only available in our Pro version so you need to upgrade to our pro version.
Rabin
September 10, 2013 at 3:16 pm #3904entacserParticipantThank you for the reply. Shouldn’t there be a css way to solve my issue, though? I’m able to change all of the other fonts on the website via css; it is only those page titles/headings that are stuck in the other font, resulting in a very awkward appearance.
September 13, 2013 at 12:30 pm #3961Sanjip ShahParticipant@entacser Yes you could use the custom css via the custom css option in the theme option page to change the page titles as well. But if you are using a google web font you will also need to load it to the theme so you can use this plugin http://wordpress.org/plugins/wp-google-fonts/.
September 13, 2013 at 4:39 pm #3969entacserParticipantThank you Sanjip. My original post in this thread indicates the custom css I am using, but it does not change the page titles’ font. Is there a different selector I need to use?
September 16, 2013 at 8:05 am #3990Sanjip ShahParticipant@entacser You could add !important to the css code to run it.
h1, h2, h3, h4, h5, h6 { font-family: Myriad Pro, "Gill Sans", Arial, Sans-Serif !important; }
Try this out.
September 16, 2013 at 2:07 pm #3991entacserParticipantThat worked perfectly, thanks!
September 17, 2013 at 7:38 am #4011Sanjip ShahParticipant@entacser Okay. Great!
February 13, 2014 at 2:54 am #7578sburton23ParticipantHi Sanjip,
Thank you so much for posting this. I was wondering what CSS code would I use, if I wanted the font to be “Sadey Anne” which I purchased online?
Would be grateful for your feedback!
February 14, 2014 at 6:04 am #7635Sanjip ShahParticipant@sburton23 You could write the custom css to use the font. In the dashboard, go to Appearance->Theme Options->Design options Tab->Custom CSS. Paste you css and there and click on save all changes.
h1, h2, h3, h4, h5, h6, #site-title, #site-description { font-family: "Arial"; } body, input, textarea, .slogan-wrap .slogan span { font-family: "Arial"; }
In place of the Arial font use your font. Also, you may also need to add other selectors for other elements.
February 14, 2014 at 2:41 pm #7663sburton23ParticipantThank you so much!
February 17, 2014 at 6:28 am #7753Sanjip ShahParticipant@sburton23 Welcome.
-
AuthorPosts
- You must be logged in to reply to this topic.