Support » Theme: MesoColumn » Disable google fonts for mobile devices

  • Resolved msalsas



    I use a google font selected in “Theme options”. I’d want to disable this font for mobile devices (or less than 400px window width e.g.). I’ve digged around fonts-functions.php, but I’m not sure on how I should disable it. Any idea? Thanks

    PD: Also I’ve had to comment the `<?php if( function_exists(‘wp_is_mobile’) && wp_is_mobile() ) { ?>
    ` line 14 on header.php, since it was not recognizing devices.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Richie KS


    try add this to theme option->custom css

    @media only screen and (min-width:180px) and (max-width:410px){
    body,h1,h2,h3,h4,h5,h6,.sf-menu li,.sf-menu li a { font-family: arial !important; }

    Finally I added the Google font code directly to my child style.css for speed improvement. Thank you anyway.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable google fonts for mobile devices’ is closed to new replies.