---
schema_version: "1"
id: d599409ece2b04d63168ef262e10e8033d3d9ed8d41c2da3199b93abfc0d4764
title: Hide the Action Header for Visualforce Custom Actions
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/custom_actions_vf_pages_remove_pub_header.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.custom_actions_vf_pages_remove_pub_header.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 27a7d643f71af349485001c46bae638b7a38e3363e8365de7bad385ae3efaf89
description: When creating a Visualforce page to use as a custom action, you can choose to hide the action’s header. Hiding the action header helps prevent user confusion, especially if you have your own buttons specified in the Visualforce page.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# Hide the Action Header for Visualforce Custom Actions

When creating a Visualforce page to use as a custom action, you can choose to hide the action’s header. Hiding the action header helps prevent user confusion, especially if you have your own buttons specified in the Visualforce page.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col style="width:100%"></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Group</strong>, <strong>Professional</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, <strong>Contact Manager</strong>, <strong>Database.com</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

To hide the header, add `showQuickActionVfHeader=“false”` to the `<apex:page>` tag of the custom action’s Visualforce page. When the Visualforce custom action renders in the Salesforce mobile app, the header and the Cancel and Save buttons are hidden. Using this attribute doesn’t affect how the action displays in the full Salesforce site.

If you don’t specify `showQuickActionVfHeader`, its value defaults to `true`.

The `showQuickActionVfHeader` attribute isn’t supported in Experience Cloud sites.

#### See Also

- [Visualforce Pages as Object-Specific Custom Actions](https://help.salesforce.com/s/articleView?id=platform.custom_actions_vf_pages_for_object_actions.htm&release=264.0.0&type=5 "A Visualforce page added as a custom action on an object is invoked in the context of a record of that object type. The custom action is passed a specific record ID—the record the user was looking at when the user clicked the custom action. Design the page to act on that specific record type.")
- [Visualforce Pages as Global Custom Actions](https://help.salesforce.com/s/articleView?id=platform.custom_actions_vf_pages_for_global_actions.htm&release=264.0.0&type=5 "Visualforce pages used as global actions can be invoked in many different places and don’t have a specific record associated with them. They have complete freedom of action, which means it’s up to you to write the code.")