Safari / iPhone issues

Discussion in 'Closed Reports' started by MichaelCS, Oct 25, 2014.

  1. MichaelCS

    MichaelCS Customer

  2. MichaelCS

    MichaelCS Customer

  3. Steve

    Steve Designer

    That bbcode or whatever you are using will need styled for use in responsive. Also the adsense ads need the responsive code from google to display correctly.
     
  4. MichaelCS

    MichaelCS Customer

    The responsive adsense code from google sucks. It was causing my banners to only show about half the time. The other half they just wouldn't load. I used this code to get around that....

    Code:
    Copy Source
    <xen:hook name="ad_above_top_breadcrumb" />
    <xen:if is="!{xen:helper ismemberof, $visitor, 21, 22}">
    <center>
    
    <style>
    @media(min-width: 200px) { .responsive-ad-code { width: 320px; height: 50px; } }
    @media(min-width: 500px) { .responsive-ad-code { width: 468px; height: 60px; } }
    @media(min-width: 800px) { .responsive-ad-code { width: 728px; height: 90px; } }
    </style>
    
    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <!-- Responsive Ad Code -->
    <ins class="adsbygoogle responsive-ad-code"
      style="display:inline-block"
      data-ad-client="ca-pub-***********"
      data-ad-slot="12345678910"></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    <br>Support MechSpecs - Visit Our Sponsors
    </center>
    </xen:if>
    
    As for the iphone styling of the BBCode? I will have to look in to that. Boooooo LOL
     
    Last edited by a moderator: Dec 2, 2014

Let's work together on your next project

Contact us today to talk about how we can help you