How to change search form style from horizontal to veritcal

This article is outdated; you can now set Horizontal or Vertical layout configurations when  configuring the Search Bar. The code below does still work.

GravityView displays search fields horizontally by adding a CSS class .gv-search-horizontal to the search container. To remove this styling, you can add this code to to your theme's functions.php file:

add_filter('gravityview_search_class', '__return_null');

You can also use the plugin attached below: