Archived topic
I WANT TO MAKE MENU BAR ITEMS BLOCK
9 replies · Started by Sourajeet on April 2, 2023
I want to make menu bar item blocks. Like this https://prnt.sc/-2SPzHt8UwJD, For making a menu bar button.
But this (menu_bar_items) option is missing now. Previously it was there before navigation.
Hi there,
There are two methods to achieve that menu button.
Can you first let me know if you want that button to show in the mobile header?
Let me know :)
No. only desktop
Hi Sourajeet,
Create a Block Element - Hook. Hook it to menu_bar_items.
Add a GB Buttons Block: https://docs.generateblocks.com/article/buttons-overview/
Then, give it a class of hide-on-mobile hide-on-tablet.
Adding Custom Classes: https://wordpress.com/support/wordpress-editor/adding-additional-css-classes-to-blocks/
I already told you before, this section is missing (Hook it to menu_bar_items)
Check the screenshot https://prnt.sc/Trnl6fJafble
Previously it was there [before navigation].
Can you provide admin login credentials?
We'll check why it isn't appearing.
Please use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Please check
Your structure in Appearance > Customize > General is set to float. You'll need to set it to flex to make menu_bar_items appear.
Reference: https://docs.generatepress.com/article/switching-from-floats-to-flexbox/
Thanks.
You're welcome, Sourajeet!