You need to sign in to do that
Don't have an account?
Pete Watson 5
Is there a way to remove the margin/padding around a visualforce page when adding to a lightning page?
Hi all,
Is there a way to remove the whitespace around a visualforce page when you add to a lightning page?
I've tried everything with css on the page and dont feel thats it (more than willing to be proved wrong through!) but completely out of ideas...
Many thanks in advance,
Stay safe!
Is there a way to remove the whitespace around a visualforce page when you add to a lightning page?
I've tried everything with css on the page and dont feel thats it (more than willing to be proved wrong through!) but completely out of ideas...
Many thanks in advance,
Stay safe!
I ended up creating a new visualforce tab for the page (and adding the other elements to the visualforce page that where on the lightning page) opposed to adding the visualforce page to a lightning page as a component.
All Answers
Yes, it is possible.
https://salesforce.stackexchange.com/questions/255564/how-do-i-remove-the-padding-around-a-salesforce-lightning-community-page
Try the suggested workaround as mentioned in the above discussion.
Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.
Thanks.
Try this,
https://developer.salesforce.com/forums/?id=906F00000009633IAA
https://developer.salesforce.com/forums/?id=9062I000000IHx9QAG
I ended up creating a new visualforce tab for the page (and adding the other elements to the visualforce page that where on the lightning page) opposed to adding the visualforce page to a lightning page as a component.
<lightning-tab class="slds-p-top_none slds-p-bottom_none">