You need to sign in to do that
Don't have an account?
Hema A 1
Force.com sites displaying Lightning styled VF page in classic
Hi all,
I am using lightningStylesheets=“true” in one of my VF page, it worked within the context off the org but when I make the page public and access it through a force.com site it reverts back to the classic view. Is there a way to make lightningStylesheets=“true” work with public sites?
Things I tried:
1) My site setting for 'Lightning Features for Guest Users' is enabled
2) Used the below stylesheet
<apex:stylesheet value="/resource/SLDS0102/assets/styles/salesforce-lightning-design-system-ltng.css"/>
3) Used the lightningStylesheets=“true”, in the <apex:page>
Please help me if I am missing something that I haven't tried.
Thanks in Advance!
I am using lightningStylesheets=“true” in one of my VF page, it worked within the context off the org but when I make the page public and access it through a force.com site it reverts back to the classic view. Is there a way to make lightningStylesheets=“true” work with public sites?
Things I tried:
1) My site setting for 'Lightning Features for Guest Users' is enabled
2) Used the below stylesheet
<apex:stylesheet value="/resource/SLDS0102/assets/styles/salesforce-lightning-design-system-ltng.css"/>
3) Used the lightningStylesheets=“true”, in the <apex:page>
Please help me if I am missing something that I haven't tried.
Thanks in Advance!
Can you copy <apex:slds /> in your VF page and check ?
Best,
Yogesh
I tried adding the <apex:slds/>, but no luck. Still the same result.
Can you please share the VF code so I can help in detail.
Best,
Yogesh