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
xing gao 9xing gao 9 

Remove Padding Outside Custom Visualforce Page in Lightning Experience

I have a custom Visual Force page, but it always there is a padding around the VF page that is quite noticeable in the Lightning experience. Note the white area around the VF page in the attached screenshot. It seems like a standard setting in lightning to have such padding for a visual force page. Is there a way to remove/overwrite this padding please?User-added image
Hemant_SoniHemant_Soni
Hi xing gao,
I think you need try custom css for removing or overwriting padding.Because Lighning haven't any standard setting.
If You need to fix these issues share your code or contact me on "soni.sonihemant.hemant@gmail.com".

 
JP HendrixJP Hendrix
@Hemant_Soni - the padding he is mentioning is not in his VF page, it's in the Lightning UI. Is there a way to change that?