function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Lakshmi SLakshmi S 

Visualforce page : Hiding pageblock in lightning view ?

Hi Team,

In visualforce page i have created one pageblock section. Is it possible to hide this pageblock in lightning view.


please let me know anyone.

Thanks.
Lakshmi
 
Best Answer chosen by Lakshmi S
Hemant_SoniHemant_Soni
Hi Lakshmi,
Yes you can hide page block section with using of $Theme. Please see below post.
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_variables_global_useruitheme.htm
Thanks