You need to sign in to do that
Don't have an account?
Mellycooks
SLDS Theme Styling not working in Napili Community
When I apply slds_theme styling in a component, the component styling seems to be overridden when used on a Communities page. I am using the straight-up sample code from the SLDS. Other SLDS styling is working just fine. attached is the code and a screenshot of the component in communities (incorrect) and the same component on a Lighting Experience page (correctly styled)
The class is slds-theme--shade
Am I missing something about styling with SLDS in Communities?
The class is slds-theme--shade
Am I missing something about styling with SLDS in Communities?
Hope this helps
I think you have not added lightning design system css. Please add lightning design system in your lightning component.
Hope this will help you!
Thanks
I've been playing around and other themes work fine, such as slds-theme_warning, it seems that slds-theme_shade is not working specifically. I've just added custom styling in the meantime, but if anyone has insights on this I'd appreciate it!
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_config_for_builder_theme_layout.htm
let me know is your problem solved or not.
thanks