How to hide header ad from homepage of mobile devices only?

Posted in: Newspaper
Post count: 436

I tried the solution given here: https://forum.tagdiv.com/topic/how-to-remove-header-ad-from-homepage-only/ but it didn’t work. Yes, it was supposed to hide header ads from all devices but it didn’t work for any of them.

I am using Newspaper Mobile theme as well and I want to hide header ad from the homepage of mobile devices. Please help me achieve this.

Thank you.

Post count: 22421

Hello,
For the mobile theme you will have to add the code in the mobile theme settings as well: https://www.screencast.com/t/ke3uspInOsL
The mobile theme has it’s own separate custom code box
Thank you!

Post count: 436

Hi Bogdan,
I am aware of it πŸ™‚

But it didn’t work even after doing that. πŸ™ I am using this code,

.home .td-all-devices{
display:none;
}

Please check the code. Thank you.

Post count: 22421

Hello,

I cannot see any header ad on your site though:
https://www.screencast.com/t/HnP8HehF6ciu

Thank you!

Post count: 436

Because I disabled the ad and mobile theme currently. πŸ™

I will let you know if I enable it again so that you can give me some code.

Thank you.

Post count: 436

I checked it again and noticed that I have already asked the same question 5months and you have already solved it there πŸ™‚

Here is the link: https://forum.tagdiv.com/topic/how-to-disable-header-ads-on-mobile-for-homepage/

It worked like charm. Sorry and thank you πŸ™‚

Post count: 22421

Yeah πŸ™‚ I also forgot about it. Glad the solution still works.
Thanks.

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