Steve

Pixel Exit Staff
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.
 

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:
<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:

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.