Mobile Newspaper theme scrolls to the left when swiping

Posted in: Newspaper
Post count: 13

I am not sure what is wrong, but when you view my website http://www.alexpoucher.com on a mobile device (so far only been able to test on an iPhone 6S) and you scroll down the page, if you swipe or pull to the left the entire layout starts going towards the left, I can not seem to find the problem causing it in the CSS. It’s a problem because of how sensitive it is, just scrolling down the page on a mobile device and before you know it the layout is halfway off the device to the left, whats the solution here?

Post count: 23312

Hello alexpoucher,

I have inspected your website on mobile mode and I noticed that your banner ad is not responsive and that’s why this happens. You should check your banner code and try to make it responsive or you should contact the ad provider. For more information about our ads, please consult here -> https://forum.tagdiv.com/header-ads-adsense/ and here -> https://forum.tagdiv.com/using-other-ads-non-adsense-ads/ if you are using non-Adsense code.

Thanks for the message!

Post count: 13

I am using Content.AD ad’s – I have looked at the link you supplied for “non-adsense code” and then also checked the content.ad website and documentation but nothing says how to turn the code in to responsive code.

ads
and here is the actual code

<div id="contentad170219"></div>
<script type="text/javascript">
    (function(d) {
        var params =
        {
            id: "81d28b1c-0f8d-47d1-95ad-2f35edfd67ff",
            d:  "YWxleHBvdWNoZXIuY29t",
            wid: "170219",
            cb: (new Date()).getTime()
        };

        var qs=[];
        for(var key in params) qs.push(key+'='+encodeURIComponent(params[key]));
        var s = d.createElement('script');s.type='text/javascript';s.async=true;
        var p = 'https:' == document.location.protocol ? 'https' : 'http';
        s.src = p + "://api.content.ad/Scripts/widget2.aspx?" + qs.join('&');
        d.getElementById("contentad170219").appendChild(s);
    })(document);
</script>

is there anyway to make this work I do not really want to remove the ad since it gets clicked on a lot.

Post count: 13

for some reason the picture I attached in the above post doesn’t seem to load here is a link to it

ad

Post count: 7909

Hi,

It is specified that for non adsense ads the theme will render them at the size specified in the code. Theme theme doesn’t make them responsive. So you will need to find a way to modify your code and make it responsive.

Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.