This change should be done via CSS, directly in the Theme that is being used. In the "div" element where the search input is located, it should have "display: inline-block" and width "width" defined, since the upper element, where this div is allocated, ; text-align: center "