|
|
|
|
- Overview
- How to?
- Finding the unused styles and deleting them
Finding the unused WEBDEV styles
In most cases, most of the presentation styles are created when designing a site. Once the site is designed, half of the created styles is not used. This increases the size of pages and makes the edit more difficult. WEBDEV proposes to find the unused styles in order to optimize your sites and your projects. Finding the unused styles and deleting them To find the unused styles: - On the "Project" tab, in the "Audit and performance" group, expand "Static audit" and select "Trigger edition audit". In the wizard, select the type of audit to perform.
- The window that is displayed lists all the potential problems of your project. The unused styles are found in the "Cleaning" category.
- If unused styles are found, click the [...] button. The window that is displayed lists all the unused styles found in your WEBDEV project. The list presents the WEBDEV and CSS styles found in the different style sheets linked to the project, for each type of control.
To delete one or more styles: - In the window of unused styles, select the styles to delete (a multi-selection can be performed).
- Click the "Delete" button (or select "Delete the selected styles" from the popup menu).
- The style is immediately deleted from the list. It will not be taken into account during the next generation of pages.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|