How to use a div class to wrap some selected fields of a grid views view I have came through this:


Views group different number of divs of a view by wrapping them
Views - Add a wrapper DIV around a Group


but can't understand how to use a div class to wrap some selected fields of a grid views view. In my case, i want to wrap three fields of a view into a div class as the image shows below:
It's really simple by using the Field overwrites.

First, set the (author) User: Picture and (author) User: Name fields to "Exclude from display".

Then open the settings for Content: Post date field, and open "Rewrite results" fieldset.

Check "Rewrite output of this field". This will reveal another fieldset "Replacement Patterns" which should show you the tokens for all the fields above the current field. All you need to do is put a &lt;div&gt; wrapper in the textbox and copy the tokens you want in between the div tags.