I have a view block, where fields are added in the table. I followed below steps to customize the output fields:
- Navigate to the edit screen for a view (for example, admin/structure/views/view/MYVIEWNAME/edit).
- In the Fields section, click a field. The Configure Field dialog box displays.
- Click Style Settings.
Enabled the following options: Customize Field HTML
Specified the HTML element
<div>to wrap around the item. and clicked on Create a CSS Class and specified a class name.
disabled the Add Default Classes option.
Clicked on Apply.
The problem is, the specified class name in step no. 5. got added to the corresponding
<td>of the view table and not to the selected html element
How to add class name for the specified HTML element