• hi,

    i have installed the plugin Facebook Page Promoter Lightbox but it is not showing correctly in the center.
    When i enable it it shows that faded screen and likebox at bottom and when i scroll from mouse it keeps getting down and down…How to fix this problem?

    Site: http://bestlist.in

Viewing 4 replies - 1 through 4 (of 4 total)
  • The problem in in your theme. The doctype should be the first element. Your theme begins with the following code

    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    
      ga('create', 'UA-23406002-22', 'bestlist.in');
      ga('send', 'pageview');
    
    </script>
    
    <!DOCTYPE html>

    remove

    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    
      ga('create', 'UA-23406002-22', 'bestlist.in');
      ga('send', 'pageview');
    
    </script>

    from either header.php in your theme’s directory or the plugin outputting this.

    Thread Starter tambersaini1987

    (@tambersaini1987)

    that code is analytics code…is it really making the problem?

    Thread Starter tambersaini1987

    (@tambersaini1987)

    oh yes its working now but where to add analytics code for better tracking?

    analytics code should be added before the closing head tag (</head>) or before the closing body tag (</body>( in footer.php

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Facebook Page Promoter Lightbox not showing in center’ is closed to new replies.