Tagged: 

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1065422

    Hallo,
    ich habe auf meiner Webseite die Fonts Oswald und Lato per Upload integriert.
    Dennoch wird ein Google Font per Script eingebunden, wie bekomme ich den raus?

    <!-- google webfont font replacement -->
    
    			<script type='text/javascript'>
    			if(!document.cookie.match(/aviaPrivacyGoogleWebfontsDisabled/)){
    				(function() {
    					var f = document.createElement('link');
    					
    					f.type 	= 'text/css';
    					f.rel 	= 'stylesheet';
    					f.href 	= '//fonts.googleapis.com/css?family=Oswald';
    					f.id 	= 'avia-google-webfont';
    					
    					document.getElementsByTagName('head')[0].appendChild(f);
    				})();
    			}
    			</script>
    #1065534

    Hey HMFIT,

    Add this to the bottom of functions.php:

    // Disable google fonts
    
    add_action( 'init', 'enfold_customization_switch_fonts' );
    function enfold_customization_switch_fonts() {
        global $avia;
        $avia->style->print_extra_output = false;
    }
    
    // End function

    Best regards,
    Jordan Shannon

    #1066465
    #1067161

    Hi,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( do be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.

    Best regards,
    Basilis

    #1067364
    This reply has been marked as private.
    #1067940

    Hi HMFIT,

    I don’t see where the font is being requested. Also, I do not see the code where you added the fonts. How are you registering them?

    Best regards,
    Victoria

    #1067941

    Hi HMFIT,

    I don’t see where the font is being requested. Also, I do not see the code where you added the fonts. How are you registering them?

    Best regards,
    Victoria

    #1068014
    This reply has been marked as private.
    #1068284
    This reply has been marked as private.
    #1068357

    Hi HMFIT,

    Best regards,
    Victoria

    #1068361
    This reply has been marked as private.
    #1068453

    Hi HMFIT,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

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

You must be logged in to reply to this topic.