Suppress blank zones

Jo Swearingen's Avatar

Jo Swearingen

03 Jul, 2014 06:27 PM

Again, I'm front-end, and don't have access to the actual web pages. I've been tasked to find out how we can code the HTML page to suppress any empty zones. Can anyone give me a code snippet to copy/paste?

Many thanks to my technical colleagues. If you ever need something done in Photoshop, I'm your girl.

  1. Support Staff 1 Posted by Mike Cherichett... on 03 Jul, 2014 06:42 PM

    Mike Cherichetti's Avatar

    Hello Jo,

    When a banner zone is empty it's going to display a default banner. It is not possible to disable those default banners. However, with a little trick you can make those default banners invisible.

    To do this, go to Settings > Sizes and edit the size of your banner zone such as 728x90.

    Enter the following into the HTML Code box on that page:

    <!-- ZONE DISABLED -->
    

    That HTML comment will be served in place of the default banner and since HTML comments aren't visibly displayed in the browser the zone effectively disappears.

    Repeat that same process for any other banner sizes that you're using.

    Usually most people use this feature to run ads from an ad network in the event that their zones are empty.

    Thanks,
    Mike

  2. Mike Cherichetti closed this discussion on 08 Jul, 2014 07:28 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

31 Mar, 2021 03:15 PM
03 Aug, 2020 08:33 PM
22 Jun, 2020 06:51 PM
07 Feb, 2020 05:39 PM
10 Dec, 2019 05:28 PM

Recent Articles