Jump to content

Problem to display ads on desktop


Théophraste

Recommended Posts

Posted

Hello. Thank you in advance for your help.

I want to display a type of advertising on desktop and another type on smarphone. I used it for the code proposed by IPS in " Edit HTML and CSS>globalTemplate ". I created two custom keys.

<a id='elContent'></a>
						{advertisement="ad_global_header"}
<div class='ipsResponsive_showDesktop ipsResponsive_showTablet ipsResponsive_block'>
{advertisement="pchautmilieu"}
</div>
<div class='ipsResponsive_showPhone ipsResponsive_block'>
{advertisement="hautmilieusmartphone"}
</div>

It works on smartphones, advertisements are displayed. But nothing on desktop. No display. Or as a visitor, or connected. On any browser. As against the display counter in the administration increases.

Please, see my administration :

Capture5.jpg


Sincerely, Theo.

Posted
<a id='elContent'></a>
						{advertisement="ad_global_header"}
<div class='ipsResponsive_hidePhone ipsResponsive_block'>
{advertisement="pchautmilieu"}
</div>
<div class='ipsResponsive_showPhone ipsResponsive_block'>
{advertisement="hautmilieusmartphone"}
</div>
  • with ipsResponsive_hidePhone = OK
  • with ipsResponsive_showDesktop ipsResponsive_showTablet = nothing

May be a bug ?

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...