Archived topic
Add icons to mobile header
10 replies · Started by Ree on April 29, 2021
How can I add an user icon and search function in Mobile Header, exactly same like the Emerald theme?
I try to use hook but it doesn't work.
[Logo]—————————[User Icon]—--[Cart]--[search]--[hamburger]
Hi there,
Emerald is using a hook element with GB's buttons block:
https://www.screencast.com/t/0t5QxwSoslF9
Let me know if this helps :)
Thanks I got the grasp of it.
I have two questions :
1) how to get rid of the surrounding square around the icon please?
2) How to I add in the search function?
Hi there,
1) how to get rid of the surrounding square around the icon please?
That's from the background color you've set to the icon. You should remove the background color and change the actual icon color to black.
2) How to I add in the search function?
Block Element allows you to add Search block. Try adding it in beside the icon.
I've added the search unfortunately it look nothing like Emerald's theme. Can I have the css please?
Hi there,
remove the Search Block you have added.
Then enable the Navigation Search in Customizer > Layout > Primary Navigation.
thank you david!
another question, only search icon showing up in tablet view, how can I enable all items showing up in tablet view please?
The url you provided before is no longer working ?
please try this:
Just noticed on desktop view button (in customizer) the header menu is also missing.
Hi there,
I'm not seeing the search icon anywhere (desktop or otherwise). Is it still activated?
I'm seeing the menu on all devices.