Ivory Search › Forums › Support › Align search bar and button once clicking on search icon
- This topic has 5 replies, 2 voices, and was last updated 5 years, 5 months ago by Ivory Search.
You must be logged in to create new topic or reply to the topic. Click To Login
- AuthorPosts
- June 3, 2019 at 11:15 AM #2277
Hi there,
I’d like to work out how to align the search bar and search button once clicking on search icon.
I’d also like it for the exit cross not to cover the search icon and sit the right.
See screen shot of what it is like currently.
Attachments:
You must be logged in to view attached files. - June 3, 2019 at 8:35 PM #2279
I hope you are well today and thank you for your question.
Could you please share me your site URL where it’s displaying so that I can help you to achieve it?
Best regards,
Ivory Search Support - June 4, 2019 at 3:42 AM #2280
- June 4, 2019 at 7:59 PM #2283
Yes, the Ivory Search plugin needs to enable as without enabling it I can’t see the search form on your site.
After enabling it, you can just hide it for your site users so that it won’t display broken by adding the below CSS code in the Custom CSS option of Ivory Search plugin settings on the path Ivory Search -> Settings -> Settings
.is-menu { display: none !important; }
- June 5, 2019 at 5:09 AM #2285
Hi there,
It’s enabled now. But is hidden with the CSS code.
Thanks!
- June 5, 2019 at 2:52 PM #2288
You can achieve this by removing the above shared CSS code and using below CSS code.
#mega-menu-wrap-main-nav .is-menu input.search-field { float: left; margin: 0; } #mega-menu-wrap-main-nav .is-menu .search-submit { padding: 11px 10px; min-width: 0; font-size: 14px; float: left; height: auto; line-height: 14px; margin: 0; } #mega-menu-wrap-main-nav .is-menu .search-close { top: 38px; right: 8px; }
- AuthorPosts
You must be logged in to create new topic or reply to the topic. Click To Login