Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Custom block, launch the search engine

  • Hello, until now through a plugin it gave me the possibility of giving attributes to blocks, I have seen this section that was not contemplated in generateblock-pro. but I don’t know how to implement it, what am I doing wrong? I don’t want to install plugins and I don’t know if it is possible to show the search button in a specific block as is this case. THANKS IN ADVANCE

    https://ibb.co/D8LsYFK

    data-gpmodal-trigger gp-search

  • Hi there,

    The attribute is correct, is the nav search modal enabled at customizer > layout > primary navigation?

    Let me know 🙂

  • Perfect, it was disabled, now it works. How can I hide the default position of the main menu? I have it configured in a higher block.

    https://ibb.co/LgsV8dp

  • Hi there,

    You can use this CSS to hide it:

    .main-navigation .menu-bar-item > a {
      display: none;
    }
  • Ok, perfect, Thank Alvin

  • You’re welcome!

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