[SalesForce] How to hide Salesforce standard search bar and bar tab on top in Lightning experience

I am trying to hide Salesforce standard search from custom Vf page in Classic and Lightning experience.

By using below, i can able to hide in classic view but not in lightning experience.

 apex:page showHeader="false" standardStylesheets="false" sidebar="false"

Any ideas how to hide standard search and object tabs from lightning experience?

Best Answer

As stated on Lightning Experience FAQ:

You will no longer have the option to hide the header or sidebar. The Salesforce Classic header and sidebar will always be suppressed in Lightning Experience. The Lightning Experience header and left nav menu will always show. No code changes are required for this behavior. Viewing the VF page in Salesforce Classic will behave the same as it does today.

Related Topic