[Resolved] Insert search form *above* inside the off canvas menu

Home Forums Support [Resolved] Insert search form *above* inside the off canvas menu

Home Forums Support Insert search form *above* inside the off canvas menu

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1523428
    Fábio Rodrigo

    Hello, there. I’m trying to replicate this design: https://i.imgur.com/Wq5YAz4.jpg

    The widget area of Generatepress is below inside the off canvas menu, so inserting a widget wont help.

    By the way, the default search widget from WP is VERY ugly and a lot different from the overall design of the theme.

    How can I have more control over the off canvas menu? Is there a file where can I “hard edit” to experiment in a test environment?

    If I could put the widget area on top of the menu, for example, or use the code I want there, this would give me a lot of options (not only for the search form).

    I’m finding very difficult to customize this area using only css.

    Thank you for your time.

    #1523533
    David
    Staff
    Customer Support

    Hi there,

    the Off Canvas Panel has 2 x Hooks that you can use.

    Before Nav: generate_inside_slideout_navigation
    After Nav: generate_after_slideout_navigation

    You can use a Hook Element ( or custom function ) or the Block Element to add anything you require.

    #1523597
    Fábio Rodrigo

    Thank you! Never crossed my mind using the elements. Generatepress is the best!

    #1523599
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.