More in this section

Forums / Developing with Sitefinity / SF5.4: Custom Master page in Templates Causing Whitespace on Top

SF5.4: Custom Master page in Templates Causing Whitespace on Top

6 posts, 1 answered
  1. Jacques
    Jacques avatar
    427 posts
    Registered:
    28 Jun 2007
    15 Mar 2013
    Link to this post
    I've just added my very basic master page to Sitefinity as a new template based on my Master page. When I go to add content to the template I get a white space of about 20PX on top of the site. The cause of this white space is the following code:
    <div style="min-width:10px;min-height:23px;" placeholderid="Head" class="RadDockZone RadDockZone_Sitefinity rdVertical zeDockZoneEmpty" id="ctl00_Head_RadDockZoneHead">
        <!-- 2012.3.1308.40 --><div style="display:none;" id="ctl00_Head_RadDockZoneHead_D" class="RadDock RadDock_Default rdPlaceHolder">
            <!-- -->
        </div><input type="hidden" name="ctl00_Head_RadDockZoneHead_ClientState" id="ctl00_Head_RadDockZoneHead_ClientState" autocomplete="off">
    </div>

    You'll notice that the element has a min-height specified???
    What is this element? If I create other templates, not based on a master page, this doesn't happen.

    Anyone know what's going on?

    Regards,
    Jacques
  2. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    Registered:
    18 Feb 2004
    15 Mar 2013 in reply to Jacques
    Link to this post
    Hi Jacques,

    Are you logged on into the Sitefinity backend when viewing the page?
    Could be the frontend tools?

    Kind regards,
    Daniel
  3. Jacques
    Jacques avatar
    427 posts
    Registered:
    28 Jun 2007
    15 Mar 2013 in reply to Daniel Plomp
    Link to this post
    Hi Daniel,

    Yip it's in the backend when I'm editing the template, or trying to add content to it. See the screenshot attached.
  4. Markus
    Markus avatar
    2763 posts
    Registered:
    25 Nov 2005
    15 Mar 2013 in reply to Jacques
    Link to this post
    Dear J. Hoventer

    Check if you have a content placeholder in the head section.

    Markus
    Answered
  5. Jacques
    Jacques avatar
    427 posts
    Registered:
    28 Jun 2007
    18 Mar 2013 in reply to Markus
    Link to this post
    Hi Markus,

    That was it, thanks.

    Regards,
    Jacques
  6. Markus
    Markus avatar
    2763 posts
    Registered:
    25 Nov 2005
    18 Mar 2013 in reply to Jacques
    Link to this post
    Dear Jacques

    You are very welcome. 

    Markus
6 posts, 1 answered