# How to display the search form in vertical or horizontal?

You can control whether the HBook search form is displayed vertically or horizontally by adjusting the “Minimum width required for displaying a horizontal search form” setting in **HBook > Appearance > General settings.**

<a id="1-always-vertical"></a>

### 1\. Always Vertical

To force the form to display vertically on all screen sizes, set a high value, such as 3000. Since most screens are smaller than this width, the form will never switch to horizontal.

<a id="2-always-horizontal"></a>

### 2\. Always Horizontal

To have the form display horizontally on most screens, set a low value, such as 500. This way, any screen wider than 500px will show the horizontal form.