New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SLDS not rendering CSS styling when VF renderAs PDF #341
Comments
Thank you for your question! This isn't something we've been looking into so far, but we'll keep it in the back of our minds and keep you updated if we have any news! |
Thanks @kaelig , do you happen to know if you can currently use the Lightning Design System for styling when rendering as a PDF? It seems the positioning works but I cannot get the colors or anything to work when the VF page is rendered as a PDF. |
Sorry to hear that. I'm not familiar with this use case, sorry! Could you ask this question on the developer forums? You might get better answers there. |
Visualforce PDF support only inline CSS |
Hi Team, Visualforce pdf supports internal and external css files. But the issue is SLDS css file is not supporting in Visualforce PDF for some reason. |
Are you using SLDS as a static resource or the one provided by the Platform ? |
@FabienTaillon Downloaded the SLDS ZIP file provided by Platform and stored in static resource. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If you still need help with your issue, please comment and we will reply to you shortly. Thank you for your contributions to the Salesforce Lightning Design System. |
Is this resolved, getting internal server error with VF page having apex:slds/ and renderAs="pdf" , any workarounds please? |
We had a similar issue and we reached out to SF support. They asked us to remove the apex:slds tag. Now we are thinking of ways to use slds in our VF page. Perhaps by using static resources. |
Does the LDS work when a visualforce page is renderAs PDF? I am not able to get any css styling on backgrounds, font color, etc.
The text was updated successfully, but these errors were encountered: