ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Styles / WEBDEV styles
  • Overview
  • How to?
  • Finding the unused styles and deleting them
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
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.
How to?

Finding the unused styles and deleting them

To find the unused styles:
  1. 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.
  2. The window that is displayed lists all the potential problems of your project. The unused styles are found in the "Cleaning" category.
  3. 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:
  1. In the window of unused styles, select the styles to delete (a multi-selection can be performed).
  2. Click the "Delete" button (or select "Delete the selected styles" from the popup menu).
  3. The style is immediately deleted from the list. It will not be taken into account during the next generation of pages.
Minimum version required
  • Version 12
Comments
Click [Add] to post a comment

Last update: 07/03/2023

Send a report | Local help