Black Friday Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Resolved] Accessing italics for headings in the Customizer

Home Forums Support Accessing italics for headings in the Customizer

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #440712
    NBC

    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.)

    GeneratePress 1.4
    GP Premium 1.5.5
    #440933
    Tom
    Lead Developer
    Lead Developer

    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?

    #441136
    NBC

    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!

    #441430
    Tom
    Lead Developer
    Lead Developer
    #630020
    James

    I have the same question, but I *need* the CSS, please. 🙂

    James M. Fisher
    www.MiramichiReader.ca
    Read. Review. Repeat.

    #630057
    David
    Staff
    Customer Support

    Hi James,

    just change the selector to which heading you want to apply it to e.g H2 :

    h2 {
        font-style: italic;
    }
    #630080
    James

    Thanks, David!

    James M. Fisher
    www.MiramichiReader.ca
    Read. Review. Repeat.

    #630081
    David
    Staff
    Customer Support
    #631074
    James

    Hmmm..now I’m just noticing that my start page site title is italicized, but not any other page.

    James M. Fisher
    www.MiramichiReader.ca
    Read. Review. Repeat.

    #631080
    David
    Staff
    Customer Support

    Hi James,

    if you want to start a new topic, where you can privately share your site URL we can have a look.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.