We have built a application with using standard Lightning component(ex: Overdue Tasks, Recent Records, upcoming events etc...) which has been provided by salesforce. But I would like to know is it possible to update or change UI style with using stylesheet for the standard component ? If yes how ? Kindly do let me know ASAP.

enter image description here

  • Are you asking how to change the style in a SF component, or are you asking how to change the style in a custom component? – Logan Jun 26 '17 at 12:54
  • How to change style in a standard SF component ? – Gowtham Bangera Jun 27 '17 at 6:45

You technically could wrap the components in a custom component and alter the styling from the styling file, however this is not really a good idea, since these components are subject to change and your component styling could break in an upcoming release.

It is always recommended to create your own custom component with your classes in conjunction witht he SLDS in order to properly style your components.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.