Home › Forums › Support › How to add 2 header widgets horizontally This topic has 9 replies, 2 voices, and was last updated 3 years, 6 months ago by David. Viewing 10 posts - 1 through 10 (of 10 total) Author Posts October 4, 2020 at 6:06 am #1471503 Nadezhda Hello! I added a search to the header, and it stood over the widget with contacts. Can’t find a solution how to move the search to the left. October 4, 2020 at 6:50 am #1471540 DavidStaff Customer Support Hi there, can you provide a link to your site with the two widgets in place so i can take a look? October 4, 2020 at 7:07 am #1471551 Nadezhda https://rossagroimport.ru/ Sorry October 4, 2020 at 7:11 am #1471557 DavidStaff Customer Support No problems 🙂 Try this CSS: @media(min-width: 1024px) { .header-widget { display: flex; } .header-widget .widget:first-of-type { margin-right: 20px; } } October 4, 2020 at 7:18 am #1471562 Nadezhda Yes, it worked out. Thank you so much! And if the search box is centered, do you need to use this https://docs.generatepress.com/article/split-header-three-sections/ or are there simpler solutions? October 4, 2020 at 9:02 am #1471801 DavidStaff Customer Support Do you want the layout to be: Logo | Search | Other Widget with the search in the center ? If so re-order the Widgets so the search comes first. Then replace the CSS i provide above with this: @media(min-width: 1024px) { .header-widget { display: flex; align-items: center; max-width: unset; width: calc(100% - 400px); } .header-widget .widget:first-of-type { margin-right: auto; margin-left: auto; padding-bottom: 0 !important; } } October 4, 2020 at 9:42 am #1471872 Nadezhda Thank you so much! I copied it. You have already helped me on other sites many times, but for some reason new tasks appear. October 5, 2020 at 12:07 am #1472461 DavidStaff Customer Support Is that working for you ? October 5, 2020 at 12:19 am #1472480 Nadezhda Yes it works. You helped me a lot. I haven’t met the best support on the Internet. Sincerely. Thanks! October 5, 2020 at 1:26 am #1472558 DavidStaff Customer Support Glad to hear that ! And happy to be of help Author Posts Viewing 10 posts - 1 through 10 (of 10 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In