• I have a problem with custom fonts.
    The google font MS MADI does not appear in the list of Google fonts.
    So I tried to install it locally, it appears well in the “custom fonts” list but does not display correctly.
    I did the test with several other fonts, none worked…

    Here is the CSS code:

    @font-face {
    font-family: ‘MsMadi-Regular’;
    src: url(‘fonts/MsMadi-Regular.woff’) format(‘woff’), /* Modern Browsers */
    }

    et le fonction.php

    // Add custom font to font settings
    function ocean_add_custom_fonts() {
    return array( ‘MsMadi-Regular’); // You can add more then 1 font to the array!
    }

    Do you have an idea to solve this problem and load the fonts correctly?
    Thanks in advance !

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘problem custom fonts’ is closed to new replies.