Blogger Store

Created for bloggers who want to start an e-commerce or shopping site, Blogger Store is a professional looking template compatible with Paypal or Google Checkout

  • Animated shopping cart
  • Dual dropdown menu bar
  • Automatic featured content carousel
  • Grid and list style post view
Blogger store shopping blogger template

Lightroom Photo Blog Template

A beautiful photo blog template that displays photos in gallery format and is available in two styles basic and advanced

  • Switchable background
  • Attractive theme font
  • Integrated social media icons
  • Left sidebar and navigation menu
Lightroom Photo Blog Template

Magpress

Magazine style theme adapted from wordpress

  • Featured slider section
  • Dual menu bar
  • Tabbed widget
  • 4 column footer
Magpress Magazine style Blog Template

Sens

A simple theme with a clean layout

  • Full width featured slider
  • 4 column footer
  • Social widgets integrated
Sens Blogger template

Pop Out Social Bookmarking Widget

A nice-looking pop out social bookmarking widget that allows readers to share their favorite post easily

  • Neat display
  • Easy to install
Add pop out social bookmarking widget for blogger

Hide Ads on a Particular Post or Page edit post

Posted by Clyde On Monday, September 27, 2010
Hide ads on blogger postThis was a hack that I always wanted for a long time, especially since most of us have our ads under the headlines of the post which is a very very hot spot :) It does look ugly to an extent and sometimes you would like a particular post or page to look neat, like a contact page or a page displaying some particular art work you would like to sell.

No one had a hack on blogger until recently Geek Blogger came up with one on his best how to blogger.

First, your gonna have to back up your template prior to making any changes. Then the next step is to locate your ad code. Once you have your ad codes you need to put a div code as shown below.

<div id="MyAds1">
Your Ad Code is Here
</div>


Once that is done you can save your template and then go to the post where you would like to hide the ads, at the end of the post paste the code below.

<script type="text/javascript">

var Ads1 = document.getElementById('MyAds1');

Ads1.parentNode.removeChild(Ads1);

</script>


If you have more than one ad on your page then you can hide the one on top as this method does not work to hide two ads. I do hope you liked our second hack from Blogger Blog Templates. Subscribe to get the next hack delivered to your email!
Share this Blogger Template:
, edit post

3 Response to "Hide Ads on a Particular Post or Page"

  1. Thanks, that will make the site look more clean with all those ads hidden.

     

  2. hi
    is there a way to hide/display an image in a post from "post page" but NOT from "main page" ?

    thanks

     

  3. Clyde said,

    @ art attack

    it is possible but iv not come across a hack like that yet, not seen it implemented in any template as well..

     

Post a Comment

    Recent Templates

    Recent Comments

    Video Guides