Drupal 7 Views - Add a wrapper around rows for unformatted list from admin panel I have a views which rendered html like this

&lt;div class="content"&gt;
&lt;div class="row-1"&gt;Some Text here&lt;/div&gt;
&lt;div class="row-2"&gt;Some Text here&lt;/div&gt;
&lt;div class="row-3"&gt;Some Text here&lt;/div&gt;
&lt;/div&gt;


Now I want to wrap the rows using a wrapper div like so.

&lt;div class="content"&gt;
&lt;div class="wrapper-1"&gt;
&lt;div class="row-1"&gt;Some Text here&lt;/div&gt;
&lt;div class="row-2"&gt;Some Text here&lt;/div&gt;
&lt;div class="row-3"&gt;Some Text here&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
Assuming you know how to override theme templates (that would be a separate question) you can override the views_view_unformatted.tpl.php template and make your override something like this:

&lt;?php if (!empty($title)): ?&gt;
  &lt;h3&gt;&lt;?php print $title; ?&gt;&lt;/h3&gt;
&lt;?php endif; ?&gt;
&lt;div class="wrapper-1"&gt;
  &lt;?php foreach ($rows as $id =&gt; $row): ?&gt;
    &lt;div&lt;?php if ($classes_array[$id]) { print ' class="' . $classes_array[$id] .'"'; } ?&gt;&gt;
      &lt;?php print $row; ?&gt;
    &lt;/div&gt;
  &lt;?php endforeach; ?&gt; 
&lt;/div&gt;


You could also override the views-view.tpl.php template instead and in the part that says:

&lt;?php if ($rows): ?&gt;
  &lt;div class="view-content"&gt;
    &lt;?php print $rows; ?&gt;
  &lt;/div&gt;
&lt;?php elseif ($empty): ?&gt;
  &lt;div class="view-empty"&gt;
    &lt;?php print $empty; ?&gt;
  &lt;/div&gt;
&lt;?php endif; ?&gt; 


do something like

&lt;?php if ($rows): ?&gt;
  &lt;div class="view-content"&gt;
    &lt;div class="wrapper-1"&gt;
      &lt;?php print $rows; ?&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;?php elseif ($empty): ?&gt;
  &lt;div class="view-empty"&gt;
    &lt;?php print $empty; ?&gt;
  &lt;/div&gt;
&lt;?php endif; ?&gt; 


It's up to you which way you want to do it.