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
uptime_andrewuptime_andrew 

Visualforce & New Interface - VF Pages Retaining Old Style?

Hello,

 

I turned on the new User Interface in our sandbox. 

 

When viewing some Visualforce pages, the style of the pageblocks & such seem to be retaining the old design style (e.g. background color, etc).

 

Is this something others have experienced?  Is there something special I need to load to utilize the new style?

 

Thank you

Best Answer chosen by Admin (Salesforce Developers) 
John De SantiagoJohn De Santiago

You might check your pageBlock mode attribute. You need to use "mainDetail" to get the cleaner look. 

All Answers

aalbertaalbert

Can you post a snippet of your code as example or the whole page?

paul-lmipaul-lmi

change the API version of your pages.

John De SantiagoJohn De Santiago

You might check your pageBlock mode attribute. You need to use "mainDetail" to get the cleaner look. 

This was selected as the best answer
uptime_andrewuptime_andrew

Thanks JohnDS - that did it!