Archived topic
Using the generate_menu_bar_items hook
3 replies · Started by Cagdas on July 1, 2022
I created a hook block by using the generate_menu_bar_items hook to put a phone icon on the mobile header.
There is an interesting behaviour; when I review the result while I am login into the Wordpress admin, I see I nearly achieve what I want. But when I use incognito mode, the icon does not have any color and size attributes. Please see the screenshotz: https://snipboard.io/FlcMiU.jpg
Related link: https://berlitz-istanbul.com/cocuklar-icin-italyanca/
PS: I want to have the icon closer to the right, close to the menu icon. Could not find out how.
Cagdas
Hi Cagdas,
Have you set any color for the buttonblock?
If not, can you try setting a color for it?
If yes, can you go to dashboard > GenerateBlocks > settings, hit theregenerate CSS filesbutton?
Let me know if this helps :)
Hi Ying,
Thank you, it worked.
Cagdas
Glad to hear that :)