Site logo

Archived topic

Show only search icon in navigation

15 replies · Started by Liran on March 5, 2023

Viewing posts 1–15 of 16

Hey there,

Is it possible to show only the search icon in the menu, without the search box or the close icon?

Here is an example

Thanks!

Hey David,

I already use a 3rd party search service and I successfully followed their Site Search Integration instructions.

Now I just need a simple, static search icon that users can click on.

Thanks!

Any idea why the cursor doesn't change to a hand pointer when I hover over the icon?

Because the clickable element isn't a link - it will need some CSS to make it so.
Can i see your site with the icon in place? Then i can see what ID/Classes to style.

Hey David,

Here, have a look.

Try adding this CSS:

#grow-me-search {
    cursor: pointer;
}

Perfect :)

Appreciate the support.

You're welcome

Hey, David!

How can I follow this and add a search icon in my custom header creating using the Elements?

Hi there,

this topic was related to a 3rd party search option. What would your requirement be ?

I am using GeneratePress and created by navigation bar using Block Element.

I just want to add a search icon at the right side in the Nav bar so users can search, that’s it!

I already did, it is adding an entire search field along with the search icon

I only need a search icon.

This archived topic is closed to new replies.