Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1200664
    ZerotoOne
    Participant

    hey there,
    my font is not displayed correctly on mobile
    this is how it should look like http://prntscr.com/cpcvde
    and this is how it looks now http://prntscr.com/cpcwek

    thanks for your help!

    by the way: there is no problem with the font, since this site http://rnbtheme.com/ is using the same one and its displayed correcetly on all my devices

    #1200665
    ZerotoOne
    Participant
    This reply has been marked as private.
    #1200730
    Rupok
    Member

    Hi there,

    It shows the right font on my mobile. Check the attachment.

    Thanks!

    #1200801
    ZerotoOne
    Participant

    sorry for the missunderstanding the rnbtheme.com site works perfectly, but my page is http://www.zerotoone.de and it uses the same font and it does not work

    #1200938
    Jade
    Moderator

    Hi there,

    Please try to add this code in the functions.php of the child theme:

    
    add_action( 'wp_enqueue_scripts', 'load_font' ); 
     
    function load_font() {	
    
    	wp_enqueue_style( 'google-font', 'https://fonts.googleapis.com/css?family=Playfair+Display:400,700,900' );
    
    }

    Hope this helps.

    #1200970
    ZerotoOne
    Participant

    thank you but now my font looks pretty messed up http://prntscr.com/cpfxfx

    #1201451
    Friech
    Moderator

    Hi There,

    This is how the text on your site looks like on my end.

    http://prnt.sc/cpk0of
    http://prnt.sc/cpk0rj

    I don’t see any error regarding fonts on your site, so this most likely an issue with your phone browser. Please clear your browser’s cache. Or try checking your site with another phone.

    Thanks.

    #1201575
    ZerotoOne
    Participant

    no0w please have a look desktop, the font was italic before, now the effect has doubled…the font does not look like it should. please compare my font http://www.zerotoone.de to http://rnbtheme.com/

    #1201576
    ZerotoOne
    Participant
    #1201661
    Christopher
    Moderator

    Hi there,

    Please remove font tags and just keep the span tag.

    Hope it helps.

    #1201692
    ZerotoOne
    Participant

    how should I do that? my code is

    Unsere Haltung:
    Jedes Projekt ist<span class=”italic-golden”> unser Bestes </span>bisher.

    #1201769
    Paul R
    Moderator

    Hi,

    I checked in desktop and mobile, checked the code and both has the same font.

    http://screencast.com/t/Yzs9CgDlig

    Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do, we’ll be happy to provide you with a response once we have a better understanding of the situation.

    #1201848
    ZerotoOne
    Participant

    yes thats because I changed the functions.php back to normal. the problem is that the google fonts of my page http://www.zerotoone.de are not loading properly on all kind of smartphones .

    #1201929
    Paul R
    Moderator

    Hi,

    You can try adding this in your child theme’s functions.php file.

    
    add_action('wp_head','hook_css');
    function hook_css() {
        echo '<link href="https://fonts.googleapis.com/css?family=Playfair+Display:400,400i,700,700i,900,900i" rel="stylesheet">';
    }
    

    Hope that helps

  • <script> jQuery(function($){ $("#no-reply-1200664 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>