Can I remove all ads from Home Page only?

Posted in: Newspaper
Post count: 29

I want to show ads on other pages except home page.

Post count: 23312

Hello alpsbox,

The theme does not have any option in this regard but you can do that only with some Custom CSS code. Please provide your website URL so I can target your Ad container and provide a more accurate response. As a hint, you should use the .home general class for homepage.

Thanks for the message!

Post count: 29

Here is my site URL: https://goo.gl/KDTa52

Post count: 23312

Hello alpsbox,

I guess that you want to hide the ad only from your sidebar for your front page, right? Try the code below and place it in Theme panel->Custom CSS area.

The code is ->

.home .td-g-rec-id-sidebar{
display:none;
}

If is not what you mean, provide more details so I will be able to provide a more accurate response.

Thanks for the message!

Post count: 29

I also want to hide ad from leader board on home page.

Post count: 7909

Hi,

The best solution is to block all the adsense ads(added through the theme ads spots ) from the code. Try to add this condition here – http://screencast.com/t/iikQIXrOM

if (is_front_page()){
return '';
}

Thanks!

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