CSS code for "headings" font

  • Unknown's avatar

    Hi, I need help with using a google font and what the proper CSS code would be to change the “headings” font(not header, btw).

    The google font I’d like to try is “Macondo Swash Caps” — with a little drop shadow effect.

    Thanks for your help!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi,

    1) If you want to change your font-family globally on all of your H tags, you should use this code:

    h1, h2,h3, h4, h5, h6 {
    font-family: ‘Macondo Swash Caps’;
    }

    2) If you want to set some drop shadow, this link will help you and it will genareate css for you (you just need to set values you want):
    http://www.cssmatic.com/box-shadow

    Best Regards

  • Unknown's avatar

    Hi @nebulastic, if the font you are wanting to use is not listed for headings at Customize Fonts, you are not going to be able to use. At this time we cannot add fonts from outside of WordPress.com as the code required to do that is not allowed.

  • The topic ‘CSS code for "headings" font’ is closed to new replies.