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
JoyDJoyD 

Do VF pages use old UI? How to use new look and feel?

I must be missing some small but key point here.  Why do my VisualForce pages look like the old look and feel of SF before the UI update (not sure when that happened, maybe a year or two ago?)...

 

Instead of the white background with skinny colored line above each pageBlockSection title, it is the old UI of gray background, pageBlockSection title in white set in the much thicker colored line.

 

I tried checking the version of my pages (up-to-date), and the documentation, and I can't find anything...

Best Answer chosen by Admin (Salesforce Developers) 

All Answers

Starz26Starz26
Look at the component reference for the Pageblocksecton. There is a setting for mode="maindetail" which will give you the white background