I have a homepage component which displays an Vf page in an iframe. I need a way to somehow hide the header of the component. I mean the name of the component and not the VF page header

Any thoughts on how it can be done?

Update :

Looks like my question was misunderstood. I just want the VF page to display without the homepage component header. if the component i created was enter image description here

Then on the home page i would get name RefereralSchedule displayed as heading after which my Vf page would be displayed. I want to somehow hide the heading ReferralSchedule heading and just display the VF page

  • Have you tried showHeader="false"?
    – Mike Chale
    Jul 17, 2013 at 13:37

2 Answers 2


YOu can add the below script in you component

<script src="/resource/jQuery"></script>
var j$ = jQuery.noConflict();
//on document ready
     //add your component name here
    if(j$(this).text() == 'your component name'){
//your vf iframe here
<iframe src="/apex/yourvfpage"></iframe>
  • 1
    awesome.. that worked
    – Prady
    Jul 18, 2013 at 5:07

In the Visualforce Page add the attribute showheader="false" on the <apex:page> element.

<apex:page showheader="false">
  • Sorry if my question was unclear, i have updated the question
    – Prady
    Jul 17, 2013 at 14:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .