Site logo

Archived topic

Trying to "fix/customize the Nav Menu Search feature

8 replies · Started by Jonathon on September 9, 2021

Viewing posts 1–9 of 9

Some of my users are reporting that they don't understand how to use the nav menu search. AKA that they have to press enter when they are done typing in the search field. Is there an easy way to add instructions as a placeholder or to include "Search:" in front of the field?

I copied the searchform.php to my child theme, but I'm not sure what do to do now.

I also wondered if there was an easy way to allow for the search to be changed on the results page so if you didn't find what you wanted you could just update the query and start over.

Does that make sense?

Okay. I can work with that, but the placeholder doesn't appear to respect the set Search Text color.

Try this CSS:

.navigation-search input[type="search"]::placeholder {
    color: #000000;
}

Thank you. You beat me to it I was just diving into dev tools to try to find that.

This works great.

What about the other part of my question. Allowing the search form to appear on the results page so a person could change their search if they didn't get the results they wanted?

Jonathon

Can you open another topic for a separate question?

It's a good question that might help other users as well.

Thanks!

Thanks!

This archived topic is closed to new replies.