Changing search form style from horizontal to vertical

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 your theme's functions.php file:

add_filter('gravityview_search_class', '__return_null');

You can also use the plugin attached below:

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us