Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #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

    #887032

    Hey flabastida,
    Where did you add the codes?

    Best regards,
    Mike

    #888043

    Hi 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 –>
    <?php

    if( 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&#8221;);</script>

    <!– Global site tag (gtag.js) – AdWords: 948698781 –>
    <script async src=”https://www.googletagmanager.com/gtag/js?id=AW-948698781″></script&gt;
    <script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag(‘js’, new Date());

    gtag(‘config’, ‘AW-948698781’);
    </script>

    </head>

    #888049

    Mike I moved the code to the non-mobile section of the header area and the site still looks out of whack on mobile

    #888336

    Hi,

    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

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.