Archived topic
Accessing italics for headings in the Customizer
9 replies · Started by NBC on December 3, 2017
I'm using the Google typeface Playfair Display for headings. I have set the Font Family dropdown menu individually for H1 through H5.
In each case, the Variants list includes the following:
Regular
Italic
700
700 italic
900
900 italic
The Font Weight list does not include any of the italicized variants.
If I select 700 italic in the Variants list for H1, all the other headings switch to 700 italic as well. The tagline also changes.
How am I supposed to access the italics?
(Development under localhost, so no URL to share, but I have the same problem on all my sites.)
Currently we don't have a font style selector in the typography controls, which includes italics. This is something we want to add.
The CSS is quite simple for now - which element are you trying to change?
Ah, if the answer is to add it through CSS, I can handle that! I thought I was missing something obvious!
A style selector would be an awesome addition.
Thanks, Tom!
No problem! :)
I have the same question, but I *need* the CSS, please. :)
Hi James,
just change the selector to which heading you want to apply it to e.g H2 :
h2 {
font-style: italic;
}
Thanks, David!
You're welcome!
Hmmm..now I'm just noticing that my start page site title is italicized, but not any other page.
Hi James,
if you want to start a new topic, where you can privately share your site URL we can have a look.