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

    Hello,

    I would like to change my H1 styling to use the font PT Sans Bold 700 Italic. I have changed it in advanced styling, but cannot choose the Italic version from there. Also, my text is automatically in capital letters (i would like to write La Vestale and not LA VESTALE).

    Could you advise as to what changes I should apply?

    Many thanks for your help
    Daria

    #438265

    Hi Fiorilla!

    Add this to your custom CSS.

    .template-page .entry-content-wrapper h1, .template-page .entry-content-wrapper h2 { text-transform: none !important; }
    

    Try this out, https://kriesi.at/support/topic/add-a-new-custom-font/#post-211016, for adding italics.

    Cheers!
    Elliott

    #438810

    hi Elliott,

    Thanks for your reply. I got rid of all caps, but the italic still does not show up (I have tried inserting the last code from the topic you mention, with and without the cyrillic subset)

    Am I doing this right?

    Thanks for your help,

    Daria

    #438815

    hi Elliott,

    Thanks for your reply. I got rid of all caps, but the italic still does not show up everywhere (some item portfolios show it, others don’t). But the result is actually not the one I had seen on google fonts (there’s way too much space between the letters).

    What would be the code to use to change this to Droid Serif Bold 700 Italic?

    Thanks again for your help!!

    Daria

    #438967

    Hi!

    Please add following code to Quick CSS as well

    .template-page .entry-content-wrapper h1, .template-page .entry-content-wrapper h2 { font-family: 'Droid Serif', serif !important; font-weight: 700!important; }

    Cheers!
    Yigit

    #438980

    Hi Yigit,

    Thanks! It worked, but I still have the problem of additional space between the letters. I have analyzed this with Firebug, and it appears that this code is applied:

    .template-page .entry-content-wrapper h1, .template-page .entry-content-wrapper h2 {
    letter-spacing: 1px;

    How do I get rid of this “letter-spacing” for the header?

    Thanks a lot,

    Daria

    #438987

    Hey!

    Please add following code to Quick CSS as well and adjust as needed

    .template-page .entry-content-wrapper h1, .template-page .entry-content-wrapper h2 { letter-spacing: 0.2em; }

    Regards,
    Yigit

    #439020

    Hi Yigit,

    Thanks for the prompt reply – actually, this has only gotten things worse! More letter spacing!

    http://production.theatrechampselysees.fr/?portfolio=castor-et-pollux

    Should I try something else?

    Daria

    #439022

    Hi!

    Please change the code to following one

    .template-page .entry-content-wrapper h1, .template-page .entry-content-wrapper h2 {
      letter-spacing: -0.1em;
    }

    Regards,
    Yigit

    #439039

    Perfect, thanks a lot!!

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Use a particular style of a Google font for H1, and use small caps’ is closed to new replies.