function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
dfrenkiel2dfrenkiel2 

Site Pages Always Have Force.com Header

Hi All.

 

I'm trying to create a very simple site but my pages always have the Force.com header. You can see it here:

 

    http://free-12415f14c3a-124e539428a-1252c93c2f2.force.com/aaa

 

My site template:

 

 

<apex:page showHeader="false" id="SiteTemplate2"> <apex:insert name="header"> aaaaaaaa <hr/> </apex:insert> <apex:insert name="body"/> </apex:page>

 

 

 

 

My page:

 

 

<apex:page > <apex:composition template="{!$Site.Template}"> <apex:define name="body"> <h1>Congratulations</h1> My Empty Page </apex:define> </apex:composition> </apex:page>

 

How do I eliminate the Force.com logo at the top and the home tab and the search component?

 

Thanks for any help!

David F.

 

 

Best Answer chosen by Admin (Salesforce Developers) 
dfrenkiel2dfrenkiel2

Never mind, I figured it out.

 

I needed the showHeader attribure set to false on the page tag.

 

 

<apex:page showHeader="false">