Do NOT follow this link or you will be banned from the site!
jQuery(function ($) {
// Reduce h1 font size if too large
if ($('h1').text().length > 34) {
$('h1').css("font-size", "28px");
}
var h1Height = $("h1").height();
console.log(h1Height);
if (h1Height > 70) {
$('h1').css("font-size", "16px");
$('.hero p').css("font-size", "12px");
}
});