0

This is part of my VF page:

<apex:page docType="html-5.0" controller="DataRetentionExt">
<apex:form id="form">
    <apex:sectionHeader title="{!$Label.DataRetention}" />
    <apex:pageBlock mode="edit">

I do not use tabStyle attribute and I need to remove the standard icon: enter image description here

Can anybody help with it?

1

The image is because you are using apex:sectionHeader and default image and title is showing.

Don't use apex:sectionHeader and use standard HTML tag like <h1> or <h2> to display the title.

Like:

<h1>{!$Label.DataRetention}</h1>
  • Thank you, but this solution seems to me very bad. – Dmitriy Yurkin Oct 25 '18 at 6:19
  • 1
    There could be many solutions for a given use case, until & unless you think all the areas you cannot consider a solution is very bad. – Santanu Boral Oct 25 '18 at 9:21
  • I tried to use your solution, but the header, even with tag <h1> looks very small. – Dmitriy Yurkin Oct 25 '18 at 9:39
  • 1
    You should incorporate any style suitable for this. – Santanu Boral Oct 25 '18 at 10:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.