Hide Advertisement text if no ad is served

Posted in: Newspaper
Post count: 127

We are using the Newspaper theme with Cloud templates. We inserted the AD Block to display our ads from GAM using the Custom Ad tab for injecting the GAM code. We have the word -Advertisement- for the ad title in the Ad-block. When there are no ads displayed we would like to hide the word Advertisement above the ad. See link. We have 3 ad spots on the page. We have only 1 had being served of the 3. But the word -Advertisement- is still showing up where the ads would be. Is it possible that the text -Advertisement- not be displayed if there are no ads being delivered. Please advise.

https://www.screencast.com/t/g2vglwQqv

Post count: 27744

Hello,

If the text appears means there is an ad or something is set in that ad box, at the moment there is nothing set, the text does not appear. So, please check the code and see if something is set there or provide the link to your website to investigate it.

Thank you!

Post count: 127

Here is how we are adding the GAM code to the theme using Ad Block element and adding the GAM code. https://www.screencast.com/t/dMMp3fyc

We currently have ads delivering so you will see the ad and the Advertisement text above the ad. The issue is when we have not ad delivered and the Advertisement text still appears.

https://dev.hrexecutive.com/talent-management/how-ai-and-hr-tech-are-taking-on-dei-and-inherent-biases/

Please advise.

Post count: 27744

Hello,

Where is the title you have a js code which does not apply => https://i.imgur.com/6jg9HZX.png that is why the title is displayed.
So, please check the section of the single post content and delete the code https://i.imgur.com/5WIVwwQ.jpg

Thank you!

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