Site logo

Archived topic

Target theme navigation bar - how do I change the search icon for something else

1 reply · Started by Carrie on October 15, 2021

Viewing posts 1–2 of 2

Darned if I can figure out where the cart and search icons are located that show up to the right of the top navigation. It doesn't seem to be a menu item or a widget. I'd like to swap it out for a log-in icon instead of the search icon, can you help me out? Where are these located so that I can edit them?

I'd appreciate it.

Hi Carrie,

You can disable thenavigation searchat customizer > layout > primary navigation:
https://docs.generatepress.com/article/primary-navigation-layout-overview/

If you want to add a login icon, you can use a block element - hook:
https://docs.generatepress.com/article/block-element-overview/

You can use a buttons block of GenerateBlocks to add the icon to the block element:
https://docs.generateblocks.com/article/buttons-overview/#icon

Here's a video demonstrate how to add an icon, you can start watching from 2:00:
https://youtu.be/q9YyXSBpRR0

Choose hookas element type, choose generate_menu_bar_item as hook name, choose entire siteas location.

Let me know if this helps :)

This archived topic is closed to new replies.