• Hi
    I am really almost desperate; suddenly my individual fonts are not displayed anymore; These are my settings:

    1. function.php of the child theme:
    // Add custom font to font settings
    function ocean_add_custom_fonts() {
    return array( ‘Amulya-Variable,Amulya-light,Amulya-bold,Amulya-medium’);
    }
    The fonts are displayed in the list.

    2. Custom CSS:

    /*Fonts-allgemein*/
    
    #wrap body {font-family:Amulya-Variable!important;
    font-size:22px!important;
    }
    
    #wrap p {font-family:Amulya-Variable!important; font-weight:300!important; 
    	color:#232F3B;}
    
    #wrap h1 {font-family:Amulya-Variable!important;     		 
    	font-size:44px!important;
    	  color:#232F3B!important;}
    
    #wrap h2 {font-family:Amulya-Variable!important;
    	font-size:32px!important;	  
    	margin-bottom: 10px;}
    
    #wrap h3 {font-family: Amulya-Variable!important;
    	font-size:24px!important;
    	color:#232F3B!important}
    
    #wrap h4 {font-family:Amulya-Variable!important; font-weight:600!important;}

    3. The fonts are definitely there where they have to be:

    @font-face {
        font-family: 'Amulya-Variable';
        font-style: normal;
        font-weight: normal;
        src: local('Amulya-Variable'), url('https://gutmann.design/wp-content/themes/oceanwp-child/fonts/Amulya-Variable.woff') format('woff');
        }
    	
    @font-face {
        font-family: 'Amulya-Variable';
        font-style: normal;
        font-weight: normal;
        src: local('Amulya-Variable'), url('https://gutmann.design/wp-content/themes/oceanwp-child/fonts/Amulya-Variable.eot') format('eot');
        }
    
    @font-face {
        font-family: 'Amulya-VariableItalic';
        font-style: normal;
        font-weight: normal;
        src: local('Amulya-VariableItalic'), url('https://gutmann.design/wp-content/themes/oceanwp-child/fonts/Amulya-VariableItalic.woff') format('woff');
        }

    I don’t have any idea anymore – why are the fonts not displayed;

    Other changes like font-sizes are accepted.
    ???
    Thanks for any idea
    Hans

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

The topic ‘individual fonts again’ is closed to new replies.