How do I change the color of the dropdown search entry field?

This topic contains 5 replies, has 2 voices, and was last updated by  Vinod Dalvi 3 weeks ago.

  • Author
    Posts
  • #2923
    steventkent
    Participant
    • Topics: 1
    • Replies: 2

    Hello – I’d like to change the color fill of the text entry field in my dropdown search box on my website: https://www.myerslegal.com/

    The search box is transparent when it drops down, but I would like it to be a solid white fill. How can I do this? Thanks!

  • #2926
    Vinod Dalvi
    Keymaster
    • Topics: 0
    • Replies: 318

    I hope you are well today and thank you for your question.

    You can achieve this by adding the below CSS code in the Custom CSS option of Add Search To Menu plugin settings on the path Settings -> Add Search To Menu

    .astm-search-menu input.search-field {
        background: #fff;
    }

    Best regards,
    Vinod Dalvi

  • #2931
    steventkent
    Participant
    • Topics: 1
    • Replies: 2

    This worked perfectly. Thank you!

  • #2938
    Vinod Dalvi
    Keymaster
    • Topics: 0
    • Replies: 318

    You are most welcome, I’m glad I was able to help you in 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.

  • #2943
    steventkent
    Participant
    • Topics: 1
    • Replies: 2

    Done!

  • #2944
    Vinod Dalvi
    Keymaster
    • Topics: 0
    • Replies: 318

    Thank you!

You must be logged in to reply to this topic.