
-
AuthorPosts
-
December 9, 2017 at 9:02 pm #886974
I think I broke the section where my navigation and logo are – the persistent ribbon on the top. I added some Google, Facebook and LinkedIn tracking codes or pixels and mow it looks all wacky on mobile. The ribbon where the hamburger menu is takes up the whole phone screen. Also, when I use “inspect” on Chrome it gives me this error:
chrome-extension://nffaoalbilbmmfgbnbgppjihopabppdk/inject.js:207 Uncaught TypeError: Cannot read property ‘body’ of null
at initializeNow (chrome-extension://nffaoalbilbmmfgbnbgppjihopabppdk/inject.js:207)
at window.onload (chrome-extension://nffaoalbilbmmfgbnbgppjihopabppdk/inject.js:191)This is for the site: contentmarketinglatam.com
December 10, 2017 at 4:00 am #887032December 12, 2017 at 7:22 pm #888043Hi Mike,
Sorry for the late reply. I put some of them in the header area, and some of them in the footer area.
Ooops! I think I see the problem…I put it in the “mobile setting” area
<!– mobile setting –>
<?phpif( strpos($responsive, ‘responsive’) !== false ) echo ‘<meta name=”viewport” content=”width=device-width, initial-scale=1, maximum-scale=1″>’;
?><!– Scripts/CSS and wp_head hook –>
<?php
/* Always have wp_head() just before the closing </head>
* tag of your theme, or you will break many plugins, which
* generally use this hook to add elements to <head> such
* as styles, scripts, and meta tags.
*/wp_head();
?>
<script id=”mcjs”>!function(c,h,i,m,p){m=c.createElement(h),p=c.getElementsByTagName(h)[0],m.async=1,m.src=i,p.parentNode.insertBefore(m,p)}(document,”script”,”https://chimpstatic.com/mcjs-connected/js/users/d0030c4ebbf291fdba7ed666a/b33fa9bb985f48aa2d5c45eec.js”);</script><!– Global site tag (gtag.js) – AdWords: 948698781 –>
<script async src=”https://www.googletagmanager.com/gtag/js?id=AW-948698781″></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag(‘js’, new Date());gtag(‘config’, ‘AW-948698781’);
</script></head>
December 12, 2017 at 7:27 pm #888049Mike I moved the code to the non-mobile section of the header area and the site still looks out of whack on mobile
December 13, 2017 at 1:49 pm #888336Hi,
Thanks for the feedback. Could you try updating the theme to the latest version (4.2) to see if that helps please? http://kriesi.at/documentation/enfold/updating-your-theme-files/
Best regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.