Skip to main content
We have a VF page that's displaying the object's icon on the top left of the page.  How can I remove that if we don't want an icon displaying?
1 resposta
  1. 9 de jul. de 2015, 08:29
    This is rendered as part of the sectionheader tag, but unfortunately there is no attribute on this tag to remove the icon, so you have a few choices

    (1) Use JavaScript to find the image and hide it - fragile as Salesforce may change the way that the image is generated

    (2) See if you can override the image style (or a parent container) to add the display:none CSS attribute - also fragile as Salesforce may change their styling

    (3) Create your own sectionheader-type tag which just displays title/subtitle.  This is the way that I would approach it.
0/9000