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
Tobias HaggeTobias Hagge 

showHeader="true" remove header with CSS

Hello.

As far as my understanding goes is the only native way to include the help text in a Visualforce page by setting showHeader="true". I realloy don't want to show the Header though, is it possible to exclude this with CSS? I read in a different thread that the following would work, but it doesn't for me.
.bPageHeader{
    display: none;
}
Any ideas?
RamuRamu (Salesforce Developers) 
This article might help
http://mindfiresfdcprofessionals.wordpress.com/2013/09/21/hide-header-and-sidebar-without-using-apex-command/
Tobias HaggeTobias Hagge
No unfortunately not. The page is a complete overwrite of the standard page laout.
Ajay K DubediAjay K Dubedi
Hi Tobias,
Try the Code it will work.
<apex:page showHeader="true" standardStylesheets="true">
    <style>
        .bPageHeader {
        display: none;
        }
    </style>
    <body>
        <header class='bPageHeader'></header>
        <h1>hello</h1>
    </body>
</apex:page>
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi