Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Customize Search Form
- This topic has 3 replies, 2 voices, and was last updated 4 years ago by Andre Flores.
- AuthorPosts
- November 21, 2020 at 9:32 pm #1033327Cassie MorrowParticipant
Hi,
I added horizontal class to my search bar ([mphb_availability_search class=”is-style-horizontal-form”] but it is showing up not aligned: https://casagogo.com/book-2/. How do I fix this so it’s properly aligned?Thank you.
November 24, 2020 at 11:17 am #1034425Andre FloresModeratorHello Cassie,
I have checked the page. however the form is vertically-aligned there without “is-style-horizontal-form” class added. Is it on some other page at the moment?
Regards,
AndreNovember 24, 2020 at 5:48 pm #1034832Cassie MorrowParticipantApologies, I was playing around with it to try some different layouts.
I’ve added back in the horizontal style. I realized if I add it in as ‘raw html’ it performs a little better.How do I clean it up so that everything appears in line, the boxes and buttons are the same height etc… like I see on the demo pages?
November 25, 2020 at 9:37 am #1035303Andre FloresModeratorHello Cassie,
Try adding the following code under Appearance ->Customize ->Additional CSS:
#mphb_adults-mphb-search-form-5fbe23a9f1836 { padding: 19px; } body[data-form-submit="regular"] .container-wrap input[type="submit"], body[data-form-submit="regular"] .container-wrap button[type="submit"], body[data-form-submit="see-through"] .container-wrap input[type="submit"], body[data-form-submit="see-through"] .container-wrap button[type="submit"]:not(.search-widget-btn) { padding: 19px 22px !important; }
Regards,
Andre - AuthorPosts
- You must be logged in to reply to this topic.