How to remove specific ads from specific styles

Posted in: Newspaper
Post count: 181

Hello,

I’d like to know how to remove/disable some ad templates on specific styles.

I currently have a header ad, inline and sidebar ad for Style 1 (my default template for articles).

When i have a video article i use Style 11 with ads too, this means i have 4 adsense adverts on one page. How would i disable the inline advert for Style 11? So Style 11 template would only have three ads showing (header, style 11 ad and sidebar) but still show up on Style 1?

I’d like to know because i think i’m breaking the adsense rules with the amount of adsense units on one page.

Thanks,

Post count: 22421

Hello,
you can use a custom css code to do it:
.td-post-template-11 .td-a-rec-id-content_inline{
display:none!important;
}

Just place the code in the theme panel->custom css box
Thank you!

Post count: 181

Hello,

The custom css still hasn’t removed the inline advert on my article using the style 11?

Thanks,

Post count: 22421

Hello,
Please provide a link to your website and point out the ad you wish removed so I can inspect it and see why the code does not apply to it.
Thank you.

Post count: 181

I have sent it across email – Thank you.

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.