Quantcast
Channel: Topic Tag: mobile | WordPress.org
Viewing all articles
Browse latest Browse all 22091

jefferytodd on "Custom font not working on mobile or tablet"

$
0
0

Oh I see, I was looking in the CSS in firebug. I normally load the fonts directly into the root directory.

But there was a problem a couple of months back with a Google Chrome update that sent a bunch of my sites a flutter until I found this bit of code through the forums. It's stuck in there in the footer.php right before the <?php wp_footer(); ?> tag and the html and body tags. You would replace "Oswald" with "jenna_sueregular."

<script>
jQuery(function() { jQuery("body").css("font-family", "Oswald"); });
</script>


Viewing all articles
Browse latest Browse all 22091

Trending Articles