Learn how to adjust your custom CSS or Javascript code from Scroll Viewport, so it continues to work in Scroll Sites' help center theme.
We have renamed some HTML attributes and theme tokens in Scroll Sites' help center theme and deprecated some others that existed in Scroll Viewport.
Please adjust your custom code according to the updates detailed in the tables below.
Renamed HTML Attributes
Name in Scroll Viewport |
🆕 Name in Scroll Sites |
---|---|
|
|
|
|
|
Supported values stay unchanged:
|
|
Contains the Scroll Sites page id. Not the Confluence page id as it used to in Scroll Viewport. |
Renamed Theme Tokens
The vpt
prefix was removed from all theme tokens.
Example: --vpt-theme-text-font
is now --theme-text-font
Name in Scroll Viewport |
🆕 Name in Scroll Sites |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Removed Viewport legacy tokens
All legacy tokens that were already deprecated in Scroll Viewport have been removed in Scroll Sites.
Removed Tokens |
---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|