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
Parteek Goyal 3Parteek Goyal 3 

how to hide visualforce page header in lightning

Hi All,

I have created a visualforce page using <apex:enhancedList type="Activity" height="1000"/> tag and embeded this page in lightning component. Now I have added this component to home page layout, it is working fine but it is showing headers two time.I only want to show global header. Could you please help me with this.

User-added image

Thanks,
Parteek
GauravendraGauravendra
Hi parteek,

Have you tried apex:page showHeader="false".
<apex:page sidebar="false" showHeader="false"  >
Hope this helps.