content title color and font change
-
I’d like to change the color and font of the content title. What css should I use for that?
The blog I need help with is: (visible only to logged in users)
-
Hi, the following would allow you to change the color of post and page titles.
.entry-title a, .entry-title { color: #1d7880; } -
I tried it but it did not work somehow..
what I want to do it to change the ‘Font’ to a different font (if this is something possible’, and the color of the content of the title. :( thanks for your help
-
I just put the above code directly into your customizer and it worked after I edited the color code. This is that same code with a red hex color. Go to Appearance > Customize > CSS, delete all the informational text in that window, and paste in the following custom CSS.
.entry-title a, .entry-title { color: #cc0000; }Currently at Appearance > Customize > Fonts you have chosen Minion for the heading fonts. To change the font family for the post and page titles, the following would be the CSS you would need. Keep in mind that if you are not going to use the Font panel to change the fonts for headings, you will need to make sure that the font you choose is installed on all computers since that is where the browser will look for the fonts. If it does not find them, it will substitute its standard serif or sans-serif font.
.wf-active h1, .wf-active h2, .wf-active h3, .wf-active h4, .wf-active h5, .wf-active h6 { font-family: minion-pro-1,minion-pro-2,"Open Sans",Helvetica,Arial,sans-serif; }The reason a number of fonts are specified (called a font stack) is so that if the first font is not available, it will try and use the second, and then on down the list. Here is a good resource for the fonts that are typically installed on the majority of computers, and they are conveniently organized into usable font stacks.
- The topic ‘content title color and font change’ is closed to new replies.