Ivory Search › Forums › Support › Menu search box stylе
- This topic has 13 replies, 2 voices, and was last updated 4 years, 10 months ago by Ivory Search.
You must be logged in to create new topic or reply to the topic. Click To Login
- AuthorPosts
- January 12, 2020 at 3:35 PM #3722AnonymousInactive
- Topics: 1
- Replies: 6
Hi! I’m trying to customize search plugin to this:
Is it real to do?
- January 12, 2020 at 9:20 PM #3723
I hope you are well today and thank you for your question.
You can achieve this by setting the Menu search form style to popup as described in the below page.
You have to develop custom CSS code to match the exact style of the popup displayed in your shared screenshot.
Best regards,
Ivory Search Support- January 12, 2020 at 11:53 PM #3724AnonymousInactive
- Topics: 1
- Replies: 6
Tahnks for quick reply.
I selected ‘popup’ search form style, and after that ‘Search’ button just disappeared from the main menu at the top of the homepage.
- January 13, 2020 at 3:07 PM #3727
Could you please share your site URL where it’s happening so that I can troubleshoot it?
- January 13, 2020 at 4:24 PM #3730
- January 13, 2020 at 8:20 PM #3734
It seems you have shared your site screenshot but missed to share your site URL so could you please share it as requested above?
- January 13, 2020 at 9:31 PM #3735AnonymousInactive
- Topics: 1
- Replies: 6
velozephyr.ru
- January 16, 2020 at 8:27 PM #3755
It disappeared because the Ocean theme that you are using on your website also styles the popup class.
You can display it by adding the below CSS code in the Custom CSS option of Ivory Search plugin settings on the path Ivory Search -> Settings -> Settings
.main-navigation li.is-menu.popup { position: static !important; display: inline; background: transparent; } div#is-popup-wrapper { opacity: 0.6; background: #000; } div#is-popup-wrapper input.search { width: 100%; }
- January 17, 2020 at 10:29 AM #3761AnonymousInactive
- Topics: 1
- Replies: 6
That’s awesome, works perfectly, thank you!
Only one strange thing left: if I hit ‘Esc’ (instead of clicking the closing button in the upper-right corner) while in search field, the ‘Search’ menu disappears from the main menu — again. To take it back, I need to refresh the main page.
- January 17, 2020 at 8:33 PM #3769
To resolve it, just change the above shared CSS code as below.
.main-navigation li.is-menu.popup { position: static !important; display: inline !important; background: transparent; } div#is-popup-wrapper { opacity: 0.6; background: #000; } div#is-popup-wrapper input.search { width: 100%; }
- January 17, 2020 at 10:43 PM #3770AnonymousInactive
- Topics: 1
- Replies: 6
You’re right, that worked excellent! No more dissapearings.
- January 18, 2020 at 9:31 AM #3777
You are most welcome, I’m glad I was able to help you with this matter. There is no obligation but by your kind words I wonder if I could trouble you to leave a review based on this experience here:
https://wordpress.org/support/plugin/add-search-to-menu/reviews/?filter=5
I’d really appreciate that. 🙂
And if I can be of any further assistance please don’t hesitate to ask.
- January 18, 2020 at 6:30 PM #3778AnonymousInactive
- Topics: 1
- Replies: 6
Feedback just have been made. Thank you again for your help!
- January 18, 2020 at 7:04 PM #3779
Thank you very much!
- AuthorPosts
You must be logged in to create new topic or reply to the topic. Click To Login