Align search bar and button once clicking on search icon

Ivory Search Forums Support Align search bar and button once clicking on search icon

Viewing 5 reply threads

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

  • Author
    Posts
    • #2277
      marct
      Participant
      • Topics: 1
      • Replies: 2

      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.
    • #2279
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      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

    • #2280
      marct
      Participant
      • Topics: 1
      • Replies: 2

      Hi there,

      Url is: https://www.currumbinrsl.com.au/

      Does ivory search need to be enabled?

      Thanks

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

      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;
      }
    • #2285
      marct
      Participant
      • Topics: 1
      • Replies: 2

      Hi there,

      It’s enabled now. But is hidden with the CSS code.

      Thanks!

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

      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;
      }
Viewing 5 reply threads

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