|
|
|
|
|
- Overview
- How to?
- Finding and deleting unused styles
Finding unused styles in a WEBDEV project
In most cases, WEBDEV or WEBDEV element styles are created when designing a website. Once the design is completed, many of those styles are left unused. This results in larger pages and more difficult editing. WEBDEV allows you to find unused styles to optimize your websites and projects. New in version 2025Starting with version 2025 Update 1, "CSS styles" are referred to as "WEBDEV element styles". This page uses the new vocabulary. Finding and deleting unused styles To find unused styles: - On the "Project" tab, in the "Audit and performance" group, expand "Static audit" and select "Start static audit". In the wizard, select the type of audit to perform.
- The window that is displayed lists all the potential problems of your project. Any unused styles will appear in the "Cleanup" category.
- If unused styles are found, click the [...] button. The window that appears lists all unused WEBDEV and WEBDEV element styles found in the style sheets of your project.
To delete one or more styles: - In the unused styles window, select the style(s) you want to delete (multiple selection available).
- Click the "Delete" button (or select "Delete the selected styles" in the context menu).
- The style is immediately deleted from the list. It will not be taken into account during the next generation of pages.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|