diff --git a/css/style.css b/css/style.css index 5406317..6a4ad53 100644 --- a/css/style.css +++ b/css/style.css @@ -533,6 +533,24 @@ img.ui-datepicker-trigger { vertical-align: middle; } .wp-caption-text { margin: 0; } +/* ============================================================================= + PLACEHOLDER Media Queries for Responsive Design. + These override the primary ('mobile first') styles + Modify as content requires. + ========================================================================== */ + +@media only screen and (min-width: 480px) { + /* Style adjustments for viewports 480px and over go here */ + +} + +@media only screen and (min-width: 768px) { + /* Style adjustments for viewports 768px and over go here */ + +} + + + /* ============================================================================= Non-semantic helper classes Please define your styles before this section. @@ -552,25 +570,7 @@ img.ui-datepicker-trigger { vertical-align: middle; } .clearfix:before, .clearfix:after { content: ""; display: table; } .clearfix:after { clear: both; } -.clearfix { zoom: 1; } - - - -/* ============================================================================= - PLACEHOLDER Media Queries for Responsive Design. - These override the primary ('mobile first') styles - Modify as content requires. - ========================================================================== */ - -@media only screen and (min-width: 480px) { - /* Style adjustments for viewports 480px and over go here */ - -} - -@media only screen and (min-width: 768px) { - /* Style adjustments for viewports 768px and over go here */ - -} +.clearfix { *zoom: 1; } diff --git a/inc/roots-actions.php b/inc/roots-actions.php index cac05f4..e47c128 100644 --- a/inc/roots-actions.php +++ b/inc/roots-actions.php @@ -17,12 +17,12 @@ function roots_google_analytics() { $get_roots_google_analytics_id = esc_attr($roots_options['google_analytics_id']); if ($roots_google_analytics_id !== '') { echo "\n\t\n"; - } + echo "\t\tvar _gaq=[['_setAccount','$get_roots_google_analytics_id'],['_trackPageview'],['_trackPageLoadTime']];\n"; + echo "\t\t(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];\n"; + echo "\t\tg.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';\n"; + echo "\t\ts.parentNode.insertBefore(g,s)}(document,'script'));\n"; + echo "\t\n"; + } } function roots_fout_b_gone() {