ZP Widget Classes is a free ClassicPress & WordPress plugin that allows individual widget instances to have custom CSS classes.
ZP Widget Classes adds a text field to each widget control form on your widget admin page. Enter a CSS class name in the box and it will be added to the classes that ClassicPress applies to that widget instance. To add multiple classes, simply separate them with a space.
It works with the Widget Logic plugin, the Widget Context plugin, the WordPress Page Widgets plugin and the Display Widgets plugin.
It only works with widgets that were created properly using the official Widgets API. If it appears not to work on a certain widget, that widget probably breaks the API rules somehow.
It has NOT been tested with page builders and may not work if they change the widget system.
ZP Widget Classes is a dual-platform plugin and works with ClassicPress (1.1 onwards), and WordPress (4.9 onwards). It is a rebuild of our retired WordPress plugin ZigWidgetClass.
The download link on the right is a direct link to the zip of the current release. To install the plugin, download this zip then go to the admin plugins page, click the ‘Add New’ button, then click the ‘Upload Plugin’ button and upload the zip file.
Though this plugin is not in the WordPress plugin repository, future updates will be shown on the admin plugins page when available. The plugin must be active in order to check for updates.