Simple bug needs fixing, can you help?

Discussion in 'HTML & Website Design' started by CarlBlogger, Mar 23, 2015.

  1. #1
    Hello,

    http://justmybackpack.com

    Could you look at it on an iPhone, scroll down (you will see the logo and nav follow your scrolling) and you'll see the Google advert at the top expands to the right which looks odd. Anyone know how to fix this? I've currently got this code showing the ad

    <div style="clear: both; width: 100%;">
    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <!-- Just My Backpack header -->
    <ins class="adsbygoogle"
    style="display:block"
    data-ad-client="example"
    data-ad-slot="example"
    data-ad-format="auto"></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    </div><!-- End Google advert -->
     
    Solved! View solution.
    Last edited: Mar 23, 2015
    CarlBlogger, Mar 23, 2015 IP
  2. #2
    Hi Carl,

    I see the issue. Try by deleting or commenting out the margin:0; part on header .fixed #header-top {} in your style.css file, line no 43.
     
    DebasishPanda, Mar 23, 2015 IP
    CarlBlogger likes this.
  3. CarlBlogger

    CarlBlogger Well-Known Member

    Messages:
    516
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    130
    #3
    That worked great, thank you very much! :)
     
    CarlBlogger, Mar 24, 2015 IP
  4. DebasishPanda

    DebasishPanda Active Member

    Messages:
    36
    Likes Received:
    4
    Best Answers:
    1
    Trophy Points:
    65
    #4
    Nice site btw, just subscribed, keep posting. Good luck with your voyage mate :)
     
    DebasishPanda, Mar 24, 2015 IP
  5. CarlBlogger

    CarlBlogger Well-Known Member

    Messages:
    516
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    130
    #5
    Thanks for subscribing mate, I hope you enjoy following it. Appreciated :)
     
    CarlBlogger, Mar 24, 2015 IP