Menu search icon vertical alignment

Ivory Search Forums Support Menu search icon vertical alignment

Viewing 8 reply threads

You must be logged in to create new topic or reply to the topic.

  • Author
    Posts
    • #9076
      Ben Williams
      Participant
      • Topics: 1
      • Replies: 1

      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!

    • #9106
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      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

      • #9109
        Ben Williams
        Participant
        • Topics: 1
        • Replies: 1

        Works perfectly, many thanks!

    • #9124
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      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.

      • #9196
        Navigator Media
        Participant
        • Topics: 0
        • Replies: 4

        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

    • #9194
      Navigator Media
      Participant
      • Topics: 0
      • Replies: 4

      Hi,

      I got the same problem

    • #9198
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      @navigator-media Please display the search icon on your shared website so that I can help you.

      • #9244
        Navigator Media
        Participant
        • Topics: 0
        • Replies: 4

        Hi Ben

        I already set it on the menu of my site. Please check it at bnf.navigator.com.vn

        Thank you

        Attachments:
        You must be logged in to view attached files.
    • #9247
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      @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;
      }
      • #9272
        Navigator Media
        Participant
        • Topics: 0
        • Replies: 4

        Thank so much for your support Ben.

        Very great team. Wish you all the best

    • #9281
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      You are always welcome here 🙂

    • #21958
      Márcio Silva
      Participant
      • Topics: 0
      • Replies: 1

      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!

    • #21960
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      @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.

Viewing 8 reply threads

You must be logged in to create new topic or reply to the topic.