Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #24705

    Hi all, I need to add a custom font (Advent Pro) to the list of predefined fonts. How I can do this?

    #124439

    In wp-contentthemesrepleteincludesadminregister-admin-options.php replace:

    'Alice'=>'Alice',
    'Allerta'=>'Allerta',
    'Arvo'=>'Arvo',
    'Antic'=>'Antic',

    with

    'Advent Pro'=>'Advent Pro',
    'Alice'=>'Alice',
    'Allerta'=>'Allerta',
    'Arvo'=>'Arvo',
    'Antic'=>'Antic',

    and select the font from the dropdown.

    #124440

    Thanks Dude,

    is possible to apply this font style to the main menu?

    #124441

    Hey!

    Yes – use following css code:

    .main_menu > li > a{
    font-family: 'Advent Pro';
    }

    Best regards,

    Peter

    #124442

    In the “Quick CSS” does not work. Do I have to edit on the style sheet?

    #124443

    Thanks Peter, I have made ​​the change in the layout.css and now works fine

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

The topic ‘Add custom font’ is closed to new replies.