Site logo

[Resolved] GB Button into GP menu

Home Forums Support [Resolved] GB Button into GP menu

Home Forums Support GB Button into GP menu

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2488099
    Joao

    I think I’ve seen some kind of related topic before but I’m unable to find it.
    Anyways:
    I would like to be able to add a GB button to the menu. I know there’s a button option in GP and that GB allows me to design beautiful buttons (the sort of including an arrow button including transform effects). What I’m wondering how I can do it/looking for is: Can I replace GP menu button with a GB designed button? Using elements? Hook? Can you guide me here?
    Thank you.

    #2488104
    David
    Staff
    Customer Support

    Hi there,

    you can use a Block Element – Hook:

    https://docs.generatepress.com/article/block-element-hook/

    1. In Appearance > GeneratePress -> Activate the Elements Module
    2. In Appearance > Elements -> Add New –> Block.
    3. In the sidebar settings set the Hook to: menu_bar_items
    4. In the Display Rules set the Location to where you want it displayed eg. Entire Site
    5. Then add your button block to the editor and style it how you want etc.

    NOTE: This will also appear in the mobile navigation header.

    #2488189
    Joao

    Thank you for your support; Comprehensive as usual!

    #2488569
    David
    Staff
    Customer Support

    Glad to hear that !

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.