Ads in article

Posted in: Newspaper
Post count: 15

Hi,
I’m trying adding of a custom ads in the article inline section https://imgur.com/SSvBr5G
but the result is this https://imgur.com/8jM1ULL

What is the error?

Thank you,
Davide

Post count: 35449

Hi,

Please make a test, set the code in a div with a width for inline ads and check the results.
-> https://i.imgur.com/421qX6d.png
<div style="width:720px">
<div>

If is working, set the width to auto or 100%.

Thank you!

Post count: 15

Hi,

with the width setted in px it works on desktop but it seems strange on mobile.
If I set the width with auto or % it doesn’t work in any device.

Davide

Post count: 35449

Hi,

As a fix you can use the code for mobile and for desktop:
<div class="td-visible-desktop" style="width:720px">
<!-- Your ad code here - this ad will show only on desktops -->
</div>

<div class="td-visible-phone" style="width:320px">
<!-- Your ad code here - this ad will show only on desktops -->
</div>

In this way the ads will look good.

Thank you!

Post count: 15

Thank you

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