• Hi!
    I was adding the google analytics code when suddenly all the website aligned on left side. Everything is on left side but I didn’t touch the css file.
    The only file modified has been index.php and header.php.
    How can I fixed this.
    Thank you guys is really important.
    Thanks again

Viewing 3 replies - 1 through 3 (of 3 total)
  • http://codex.ww.wp.xz.cn/Forum_Welcome#Include_as_Much_Information_as_Possible

    what theme are you using?

    what are the exact changes you have made?

    can you post a link to your site?

    Thread Starter alexiscanny

    (@alexiscanny)

    Hi Michael, thanks for ask me these questions.
    The web site is: http://www.bilanciamo.it/home/
    The theme is: Baskerville version 1.15
    Changes: created analyticstracking.php with inside

    <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-74045607-1', 'auto');
      ga('send', 'pageview');
    
    </script>

    And the first time I wrote inside the page index.php the line of code
    <?php include_once("analyticstracking.php") ?>
    And after, because nothing was changed, the same line of code into the page header.php

    in Firefox and Chrome (windows laptop), the site is centered;

    what browser are you using?
    have you tried different browsers and computers to view the site?

    possibly check your browser and clear the browser cache …

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Website align on left side’ is closed to new replies.