Newer Version Available

This content describes an older version of this product. View Latest

CSS Overrides Migration for the Record Detail Component

Some CSS selectors for the Record Detail component changed with the Lightning communities update. If you plan to continue using custom CSS overrides, migrate them forward after you update the template.

This topic identifies selector changes.

  • Use custom CSS sparingly because template updates might not support your customizations.
  • Custom CSS is now shared across all your community pages. If you used custom CSS for Login pages, copy it and close the CSS editor. Then navigate to a non-Login page, reopen the editor, and add the custom CSS.

Note

Form Element Separator

Previous Selector New Selector
.forceCommunityRecordDetail .slds-form-element__control .slds-form-element_separator .forceCommunityRecordDetail .slds-form-element_separator