Newer Version Available

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

Enable --dxp Styling Hooks

If you created your LWR site before Summer ’21, enable --dxp styling hooks by adding the DXP branding style sheets to your site.

New LWR sites created in Summer ’21 and later automatically include these style sheets.

Tip

Click Settings | Advanced | Edit Head Markup, and include the following code in the Head Markup editor.

Make sure that the dxp-styling-hooks.min.css and dxp-slds-extension.min.css files are loaded after salesforce-lightning-design-system.min.css.

Note