You need to sign in to do that
Don't have an account?
Nicolás Kacowicz
I have a Visualforce page with lightningStylesheets true but on force.com site is still classic
Hello, I have a Visualforce page that has lightningStylesheets="true" and when I click 'preview' I see it as a lightning page, but I also have a force.com site that has this Visualforce page and when I open it through the Anonymous Chrome it shows Classic instead of Lightning.
Thanks!
Thanks!
`<apex:slds />` just loads the same design resources you can find from the lightning design system, which styles the blueprints/semantic markup and classes. Visualforce uses a lot of outdated server side generated html that is different from the selectors targeted by slds. lightningStylesheets includes special css that targets the outdate markup and selectors to make it look and feel like lightning.