Ivory Search › Forums › Support › Menu search icon vertical alignment
- This topic has 12 replies, 4 voices, and was last updated 1 month, 1 week ago by Ivory Search.
You must be logged in to create new topic or reply to the topic. Click To Login
- AuthorPosts
- October 7, 2021 at 12:48 AM #9076
Hi, I’ve been trying to alter the vertical alignment of my search icon here https://climatalk.org/ with some custom CSS, but so far am unable to change the position so it is centre aligned with the text (rather than slightly above). Do you know how to do this? Altering the top margin shifts the entire line, so doesn’t alter the relative position of the icon.
Many thanks!
- October 7, 2021 at 8:28 PM #9106
I hope you are well today and thank you for your question.
You can align it by adding the below CSS code in the Custom CSS option of Ivory Search plugin settings on the path Admin Area -> Ivory Search -> Settings -> Settings
.main-navigation nav .is-menu a { padding: 0 10px !important; vertical-align: middle; line-height: 38px !important; }
Best regards,
Ivory Search Support- October 7, 2021 at 9:35 PM #9109
Works perfectly, many thanks!
- October 8, 2021 at 7:58 PM #9124
You are always 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.
- October 13, 2021 at 8:14 PM #9196
Hi,
I got the same problem and already try a dozen times with CSS code. Could you help me check it.
my site : bnf.navigator.com.vn
Thank you
- October 13, 2021 at 8:12 PM #9194
Hi,
I got the same problem
- October 13, 2021 at 8:51 PM #9198
@navigator-media Please display the search icon on your shared website so that I can help you.
- October 17, 2021 at 10:17 PM #9247
@navigator-media Thank you for displaying the search icon now.
You can align it on your website by adding the below CSS code in the Custom CSS option of Ivory Search plugin settings on the path Admin Area -> Ivory Search -> Settings -> Settings
.edgtf-main-menu ul li.is-menu { height: auto; margin-top: 8px; } .edgtf-main-menu ul li.is-menu a { line-height: 12px; vertical-align: middle; height: auto; }
- October 20, 2021 at 6:16 PM #9272
Thank so much for your support Ben.
Very great team. Wish you all the best
- October 21, 2021 at 7:58 PM #9281
You are always welcome here 🙂
- October 5, 2024 at 3:12 PM #21958
Hello!
I also have this problem with the search icon not being centered and aligned with the menu. I tried a few CSS in both the customizer and the Ivory search CSS options, but none worked.Can you help me, please?
The website is: http://www.designefotografia.pt
Thank you!
- October 5, 2024 at 9:36 PM #21960
@Márcio Silva To help us keep the support thread separated could you please create your own thread for your question instead of posting a reply on others’ thread as it makes the thread messy and hard to read?
If you want to you can also add a reference to this thread in your newly created thread.
We would be more than happy to help you with your new thread.
- AuthorPosts
You must be logged in to create new topic or reply to the topic. Click To Login