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

Posted by Community Admin on 04-Aug-2018 14:11

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

All Replies

Posted by Community Admin on 15-Mar-2013 00:00

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

Posted by Community Admin on 15-Mar-2013 00:00

Hi Jacques,

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

Kind regards,
Daniel

Posted by Community Admin on 15-Mar-2013 00:00

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.

Posted by Community Admin on 15-Mar-2013 00:00

Dear J. Hoventer

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

Markus

Posted by Community Admin on 18-Mar-2013 00:00

Hi Markus,

That was it, thanks.

Regards,
Jacques

Posted by Community Admin on 18-Mar-2013 00:00

Dear Jacques

You are very welcome. 

Markus

This thread is closed