Newer Version Available

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

CSS Overrides Migration for the Related Articles Component

Some CSS selectors for the Related Articles 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

Full Related Articles

Previous Selector New Selector
.selfServiceSimilarArticles

.base-items

.uiAbstractList

.selfServiceBaseSimpleItems

.comm-related-articles

Component Title

Previous Selector New Selector
.selfServiceSimilarArticles h2

.selfServiceSimilarArticles .base-items-header

.comm-related-articles h2

Article List

Previous Selector New Selector
.selfServiceSimilarArticles ul

.selfServiceSimilarArticles .base-items

.comm-related-articles ul

Article List Items

Previous Selector New Selector
.selfServiceSimilarArticles .base-simple-item .comm-related-articles li

Article Links

Previous Selector New Selector
.selfServiceSimilarArticles .item-title

.selfServiceSimilarArticles .item-title-link

.comm-related-articles li a