Home Forums Art WordPress Theme Content Heading Font

This topic contains 4 replies, has 2 voices, and was last updated by  nsek 2 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #20242

    nsek
    Participant
    Purchased

    Hello,

    Is it possible to have different fonts for headings ? In Fonts Assignment there is only the option for headings 1- 6.
    Theme 2.2.7.

    Thank you,
    Nikos

    #20243

    SeaTheme
    Keymaster
    Purchased

    Hi,

    Could you give me more tips? Did you mean to set a different font for a specified page?

    Regards!

    SeaTheme – SeaTheme.netTwitterFacebook

    #20248

    nsek
    Participant
    Purchased
    This reply has been marked as private.
    #20250

    SeaTheme
    Keymaster
    Purchased

    Hi,

    Please set h1, h2, h3 with the Fonts Assignment.

    Set h4, h5, h6 with custom css:

    Step 1. Please upload the font files(like: woff, ttf) to your web site space by FTP

    Step 2. Define the font by CSS @font-face, you can write the css-code into “Appearance > Customize : Additional CSS” or CSS file of child theme, the CSS code is a sample, you can refer your font Doc(if it has).

    @font-face {
        font-family: TheFontName; font-weight: normal; font-style: normal; 
        src: url('http://yoursite.com/styles/fonts/TheFontName.woff') format('woff'),url('styles/fonts/Inconsolata-Regular.ttf') format('truetype');
    }

    Step 3. Assign the fonts by css”Appearance > Customize : Additional CSS”:
    .entry h4, .entry h5, .entry h6 {font-family: 'TheFontName';}

    #20251

    nsek
    Participant
    Purchased

    Hi,

    the code to assign the fonts made the difference. It works.

    Thank you,
    Nikos

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

Join Newsletter(FREE)

Subscribe to our newsletter to receive news & updates. We promise to not spam you, super promise!